Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
easy way to read from stdin ?
- X-seq: zsh-users 1648
- From: Sweth Chandramouli <sweth@xxxxxxxxxxxxxxxxxxxx>
- To: ZSH Users <zsh-users@xxxxxxxxxxxxxxx>
- Subject: easy way to read from stdin ?
- Date: Tue, 23 Jun 1998 16:37:58 -0400
- Mail-followup-to: ZSH Users <zsh-users@xxxxxxxxxxxxxxx>
this is probably just going to show my colossal cluelessness, but is
there an easy way to get a zsh script to read from standard input? i have a
script that i'd like to convert into a cgi, but that means that rather than
reading input from a file, i'd have to have it come from stdin. i tried a
"while read ... ; do ... done" loop with no redirection of input, but that
didn't seem to work right. what am i missing here?
-- sweth.
--
Sweth Chandramouli
IS Coordinator, The George Washington University
<sweth@xxxxxxx> / (202) 994 - 8521 (V) / (202) 994 - 0458 (F)
<a href="http://astaroth.nit.gwu.edu/~sweth/disc.html">*</a>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author