Mar 13, 2009 10:12
run linux?
try this script:
for X in {A..Z} {a..z} ; do
case $X in
[A-Z]) echo "$X is a capital letter" ;;
[a-z]) echo "$X is a lowercase letter" ;;
esac
done
that's right... linux can't tell the difference between a capital and a lowercase letter. this is broken in ubuntu, and fedora core... anyone else want to test it?
it's just the case command in FC10 older versions of linux you can do this on the command line:
echo c | grep [A-Z]
and it will come back with a 'c'... which it shouldn't.
something so basic, you think they would at least get that right...
oh, this is not broken in FreeBSD, Solaris Sparc, Solaris x86 or OpenSolaris