Article View: comp.unix.shell
Article #1288Re: Sounds trivial, but it's not (I don't think)
From: Sean Fulton
Date: Sun, 30 Sep 1990 05:18
Date: Sun, 30 Sep 1990 05:18
37 lines
1413 bytes
1413 bytes
In article <1990Sep28.175140.17023@bkj386.uucp> marekp@bkj386.UUCP (Marek Pawlowski) writes: > >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? :) Consider your subscription done. But ... you didn't answer my question. Assuming foo is cu [system]<$a, you've accomplished exactly what I have. The hard part is being able to pipe all those files into one cu. As an update, I tried cu [system] <sender where sender is: ~$send.sh ~. And send.sh is similar to what you described above (for a in ... cat $a). This seems to work, unless anyone has a better idea. -- Sean Fulton sean@utoday.com UNIX Today! (516) 562-5430 /* The opinions expressed above are not those of my employer */
Technical Details
Message-ID:
<1818@utoday.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!uunet!utoday!seanReferences:
<1990Sep28.175140.17023@bkj386.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!uunet!utoday!sean From: sean@utoday.UUCP (Sean Fulton) Newsgroups: comp.unix.shell Subject: Re: Sounds trivial, but it's not (I don't think) Message-ID: <1818@utoday.UUCP> Date: 30 Sep 90 05:18:08 GMT References: <1990Sep28.175140.17023@bkj386.uucp> Reply-To: sean@utoday.UUCP (Sean Fulton) Organization: UNIX Today!, Manhasset, NY Lines: 37