Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Stephen Powell
On Fri, 5 Feb 2010 18:27:49 -0500 (EST), Bob McGowan wrote: > If someone wanted to, they could write a single program that would read > input/write output from/to two or more descriptors, and use it to create > a multi-path'ed I/O processing sequence, but writing it to prevent > blocking on one inp

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Bob McGowan
Boyd Stephen Smith Jr. wrote: > On Friday 05 February 2010 16:33:12 Bob McGowan wrote: >> Boyd Stephen Smith Jr. wrote: >>> mkfifo "LOCM" && >>> mkfifo "FIN" && >>> ( >>> "<" | "NFIND" | "LOCATE" 2> "LOCM" | "FANINANY" 2< "FIN"| ">" & >>> "LOCATE" < "LOCM" > "FIN" & >>> wait >>> ) >> wh

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Boyd Stephen Smith Jr.
On Friday 05 February 2010 16:33:12 Bob McGowan wrote: > Boyd Stephen Smith Jr. wrote: > > mkfifo "LOCM" && > > mkfifo "FIN" && > > ( > > "<" | "NFIND" | "LOCATE" 2> "LOCM" | "FANINANY" 2< "FIN"| ">" & > > "LOCATE" < "LOCM" > "FIN" & > > wait > > ) > > which would disallow having the >

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Bob McGowan
Boyd Stephen Smith Jr. wrote: > On Friday 05 February 2010 14:47:21 Stephen Powell wrote: >> On Fri, 5 Feb 2010 12:42:47 -0500 (EST), Bob McGowan wrote: >> Let me give you a >> simple example of a CMS pipeline for illustrative purposes, >> so that you will get some idea of what I'm talking about. >

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Boyd Stephen Smith Jr.
On Friday 05 February 2010 14:47:21 Stephen Powell wrote: > On Fri, 5 Feb 2010 12:42:47 -0500 (EST), Bob McGowan wrote: > Let me give you a > simple example of a CMS pipeline for illustrative purposes, > so that you will get some idea of what I'm talking about. > [snip: Long, but very useful desc

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Stephen Powell
On Fri, 5 Feb 2010 12:42:47 -0500 (EST), Bob McGowan wrote: > Stephen Powell wrote: >> This is off topic from the OP's question, but one of the things that I >> miss in the Linux environment that I used to use a lot in the CMS >> environment is CMS Pipelines. The shell supports pipelines, but they

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Stephen Powell
On Fri, 5 Feb 2010 11:39:26 -0500 (EST), John Hasler wrote: > Stephen Powell writes: >> I wish the shell supported multi-stream pipelines. > > I think you could fake it with tee and a fifo. Well, I know about tee; but, although I've heard the term fifo, I know nothing about it in a Linux/Unix/shel

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread Bob McGowan
Stephen Powell wrote: > On Fri, 5 Feb 2010 10:44:28 -0500 (EST), bruno wrote: >> Ken Teague wrote: >>> On Fri, Feb 5, 2010 at 12:39 AM, bruno wrote: >>> Why not simply use the t option for content listing : tar tvf * --exclude-from $EXCLUDES >>> He's already creating

Re: [OT] - Bash question: get output as a variable?

2010-02-05 Thread John Hasler
Stephen Powell writes: > I wish the shell supported multi-stream pipelines. I think you could fake it with tee and a fifo. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

[OT] - Bash question: get output as a variable?

2010-02-05 Thread Stephen Powell
On Fri, 5 Feb 2010 10:44:28 -0500 (EST), bruno wrote: > Ken Teague wrote: >> On Fri, Feb 5, 2010 at 12:39 AM, bruno wrote: >> >>> Why not simply use the t option for content listing : >>> >>> tar tvf * --exclude-from $EXCLUDES >>> >> >> He's already creating the archive with -v. Why pro