Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!contact!bkj386!marekp From: marekp@bkj386.uucp (Marek Pawlowski) Newsgroups: comp.unix.shell Subject: Re: Sounds trivial, but it's not (I don't think) Message-ID: <1990Sep28.175140.17023@bkj386.uucp> Date: 28 Sep 90 17:51:40 GMT Reply-To: marekp@bkj386.UUCP (Marek Pawlowski) Organization: Intelligent Twist Software Lines: 33 On 27 Sep 90 21:04:58 GMT, Sean Fulton wrote: > [..snipped..] > This has been somewhat reliable, but only allows for one file > per call. Given that there is a modem shortage on the remote end, this > is unacceptable. > > So, does anyone have any ideas on how to do something like: > > ~!for a in `ls files` > [..snipped..] Simple, if I understood your question correctly. Essentially, this relies on doing the following: cd /directory/containing/the/files/to/be/sent/out for a in * do foo [...] bar done Rather simple. So, when do I get my free subscription to Unix Today? :) Marek Pawlowski || Intelligent Twist Software || You like bang-paths? marekp@contact.uucp || 250 Harding Blvd. || root@aunix.uucp || PO Box 32017 || uunet!contact!marekp marekp@generic.uucp || Richmond Hill, Ontario || marekp@pnet91.uucp || L4C 9M7 CANADA || Don't we all? marekp@torag.uucp ||____________________________|| marekp@bkj386.uucp || ||