BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] through the looking glass
- Subject: [Discuss] through the looking glass
- From: jdm at moylan.us (dan moylan)
- Date: Fri, 1 Jun 2018 19:32:27 -0400
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) jdm at moylan.us www.moylan.us [no html pls]
- Follow-Ups:
- [Discuss] through the looking glass
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] through the looking glass
- Next by Date: [Discuss] through the looking glass
- Next by thread: [Discuss] through the looking glass
- Index(es):