moylan qst[1119] cat ./b2
#! /bin/bash
# b2
st1="abc"
st2="xyz"
if [ $st1 = $st1 ] ; then
echo "$st1 = $st1"
fi
if [ $st1 = $st2 ] ; then
echo "$st1 = $st2"
fi
if [ $st1 > $st2 ] ; then
echo "$st1 > $st2"
fi
if [ $st2 > $st1 ] ; then
echo "$st2 > $st1"
fi
if [ $st1 > $st2 ] && [ $st2 > $st1 ] ; then
echo "WTF"
fi
moylan qst[1120] ./b2
abc = abc
abc > xyz
xyz > abc
WTF
also b2 writes out empty files abc and xyz.
i've surely missed something fundamental, or did i just
step into an alternate universe?
ole dan
j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
[email protected]
www.moylan.us
[no html pls]
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss