
REGISTER TODAY!
LOPSA Training at OLFUNavigationEvents
Recent Updates |
Weird input problem with shell scriptsSubmitted by borwick on Fri, 2005-11-18 23:27.
cat > caller.sh <<_CALLER_ #!/bin/bash echo "weird" | ./reader.sh _CALLER_ cat > reader.sh <<_READER_ : #! /bin/sh read TEST echo "Got >\$TEST<" # quote is for 'cat > reader.sh' _READER_ chmod 755 caller.sh reader.sh ./caller.sh # prints 'Got >weird<' cat caller.sh | sh # prints 'Got ><'
The main issue is, what is that ':' doing on the first line of Trackback URL for this post:http://lopsa.org/trackback/707
borwick's blog | add new comment | 1988 reads
|
|||||||||||||||||||||||||||||||||||||||||||||||||