From: Sweth Chandramouli <sweth@astaroth.nit.gwu.edu>
To: ZSH Users <zsh-users@math.gatech.edu>
Subject: easy way to read from stdin ?
Date: Tue, 23 Jun 1998 16:37:58 -0400 [thread overview]
Message-ID: <19980623163758.05103@astaroth.nit.gwu.edu> (raw)
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@gwu.edu> / (202) 994 - 8521 (V) / (202) 994 - 0458 (F)
<a href="http://astaroth.nit.gwu.edu/~sweth/disc.html">*</a>
next reply other threads:[~1998-06-23 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-23 20:37 Sweth Chandramouli [this message]
1998-06-23 22:01 ` Bart Schaefer
1998-06-23 22:42 ` Sweth Chandramouli
1998-06-23 23:50 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19980623163758.05103@astaroth.nit.gwu.edu \
--to=sweth@astaroth.nit.gwu.edu \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).