Mar. 13th, 2009

hugme: (Default)
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

Profile

hugme: (Default)
hugme

April 2011

S M T W T F S
     12
3456789
10111213141516
17 181920212223
24252627282930

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2017 06:51 pm
Powered by Dreamwidth Studios