From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,409f62bcdec6264f X-Google-Attributes: gidfee84,public From: Jim Seagraves Subject: Re: Shell scripting under OSF1 Date: 1998/02/12 Message-ID: <34E31F6E.4ADD@zk3.dec.com>#1/1 X-Deja-AN: 324470618 Content-Transfer-Encoding: 7bit References: <886783241.6919.0.nnrp-03.c246a7b2@news.demon.co.uk> <01bd357e$f46bd160$69a6d4cc@kylan.imt.net> Content-Type: text/plain; charset=us-ascii Organization: TPEG Mime-Version: 1.0 Reply-To: beau@zk3.dec.com Newsgroups: comp.unix.osf.osf1 > > > #!/bin/sh > > ls | while read a > you could also write this as for a in `ls` do action1 ; action2 ; ... actionn ; done