Linux is screwd up
Mar. 13th, 2009 10:12 amrun linux?
try this script:
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
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
no subject
Date: 2009-03-13 05:26 pm (UTC)echo c ; grep [A-Z]
I think you wanted a pipe here, Captain Asshat
no subject
Date: 2009-03-13 05:28 pm (UTC)A is a capital letter
B is a capital letter
C is a capital letter
D is a capital letter
E is a capital letter
F is a capital letter
G is a capital letter
H is a capital letter
I is a capital letter
J is a capital letter
K is a capital letter
L is a capital letter
M is a capital letter
N is a capital letter
O is a capital letter
P is a capital letter
Q is a capital letter
R is a capital letter
S is a capital letter
T is a capital letter
U is a capital letter
V is a capital letter
W is a capital letter
X is a capital letter
Y is a capital letter
Z is a capital letter
a is a lowercase letter
b is a lowercase letter
c is a lowercase letter
d is a lowercase letter
e is a lowercase letter
f is a lowercase letter
g is a lowercase letter
h is a lowercase letter
i is a lowercase letter
j is a lowercase letter
k is a lowercase letter
l is a lowercase letter
m is a lowercase letter
n is a lowercase letter
o is a lowercase letter
p is a lowercase letter
q is a lowercase letter
r is a lowercase letter
s is a lowercase letter
t is a lowercase letter
u is a lowercase letter
v is a lowercase letter
w is a lowercase letter
x is a lowercase letter
y is a lowercase letter
z is a lowercase letter
[recombinator](0) $
that's a debian box. perhaps you ought learn your shell?
no subject
Date: 2009-03-13 05:46 pm (UTC)Ubuntu and fedora core it's broken
"perhaps you ought learn your shell?"
haha, you're kidding right? don't tell me, your a linux user... You may want to figure out who you're talking to BEFORE you open up this conversation...
no subject
Date: 2009-03-13 05:43 pm (UTC)