[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
< /dev/null while read a; do :; done
From: |
Dan Jacobson |
Subject: |
< /dev/null while read a; do :; done |
Date: |
29 Mar 2002 22:29:26 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
I was feeling pretty bad when line 2 didn't work:
while read a; do :; done < /dev/null
< /dev/null while read a; do :; done
while < /dev/null read a; do :; done
cat /dev/null|while read a; do :; done
however it is certainly my conceptual problem, not bash's.
--
http://jidanni.org/ Taiwan(04)25854780
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- < /dev/null while read a; do :; done,
Dan Jacobson <=