• Caps to small and small to caps
    By : Prabu ( Tue Jun 13 10:07:30 2006 )

    Small letters in a file to capital letter
    perl -0777pne 'print tr/[a-z]/[A-Z]/' filename

    Capital letters in a file to small letters
    perl -0777pne 'print tr/[A-Z]/[a-z]/' filename

    Return to article...



    UNIXguide.net
    English to Cebuano Dictionary
    Suggest a Site
    Cebuano to English Dictionary