From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15823 invoked from network); 23 Jun 1998 20:41:55 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Jun 1998 20:41:55 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id QAA00345; Tue, 23 Jun 1998 16:37:39 -0400 (EDT) Resent-Date: Tue, 23 Jun 1998 16:34:50 -0400 (EDT) Message-ID: <19980623163758.05103@astaroth.nit.gwu.edu> Date: Tue, 23 Jun 1998 16:37:58 -0400 From: Sweth Chandramouli To: ZSH Users Subject: easy way to read from stdin ? Mail-Followup-To: ZSH Users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89 Resent-Message-ID: <"hodch3.0.M1.e51ar"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1648 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 / (202) 994 - 8521 (V) / (202) 994 - 0458 (F) *