Thread
:
reading stdin
View Single Post
Dec 9th, 2006, 9:16 PM
#
2
a thing
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power:
0
I found a way:
(
Toggle Plain Text
)
if ! [ -t 0 ]; then read -a foo fi
if ! [ -t 0 ]; then read -a foo fi
Finished script (until I find another thing I should but haven't implemented):
http://athingis.boldlygoingnowhere.org/software/prefix
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted.
Got 'Nux?—GNU/Linux and other free software support.
It's
GNU/
Linux, not just Linux.
a thing
View Public Profile
Visit a thing's homepage!
Find More Posts by a thing