Article View: comp.unix.shell
Article #1270Re: Sounds trivial, but it's not (I don't think)
From: Marek Pawlowski
Date: Fri, 28 Sep 1990 17:51
Date: Fri, 28 Sep 1990 17:51
33 lines
1516 bytes
1516 bytes
On 27 Sep 90 21:04:58 GMT, Sean Fulton <sean@utoday.uucp> 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 || ||
Technical Details
Message-ID:
<1990Sep28.175140.17023@bkj386.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!contact!bkj386!marekpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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