On Mon, 22 Sep 2003, Philip S Tellis wrote:
cat file | tr "a-zA-Z" "n-za-mN-ZA-M" > newfile
of course, this isn't portable across character sets. For that, you'd have to list every single character... but I don't feel like doing that right now.
man isalpha gave
isalpha() checks for an alphabetic character; in the standard "C" locale, it is equivalent to (isupper(c) || islower(c)). In some locales, there may be additional characters for which isalpha() is true--letters which are neither upper case nor lower case.
i think the locale will take care of the selection of letters automatically.
BTW does anyone know what is a standard "C" locale or for that matter what is a locale ?