Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jim Seagraves <beau@zk3.dec.com>
Subject: Re: Shell scripting under OSF1
Date: 1998/02/12	[thread overview]
Message-ID: <34E31F6E.4ADD@zk3.dec.com> (raw)
In-Reply-To: 01bd357e$f46bd160$69a6d4cc@kylan.imt.net


> 
> > #!/bin/sh
> > ls | while read a
> 

you could also write this as

for a in `ls`
 do
  action1 ; action2 ; ... actionn ;
 done



  reply	other threads:[~1998-02-12  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-06  5:00 Shell scripting under OSF1 Eric Le Donn�
1998-02-06  5:00 ` Mike Iglesias
1998-02-09  5:00 ` Doug Hamilton
1998-02-09  5:00 ` Bob Vickers
1998-02-09  5:00 ` Kylan Coghlan
1998-02-12  5:00   ` Jim Seagraves [this message]
1998-02-13  5:00     ` Jerome FENAL
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox