help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] coprocess help


From: lxnf98mm
Subject: Re: [Help-bash] coprocess help
Date: Wed, 6 Mar 2013 13:45:50 -0600 (CST)
User-agent: Alpine 2.00 (LRH 1167 2008-08-23)

On Wed, 6 Mar 2013, Greg Wooledge wrote:

On Wed, Mar 06, 2013 at 01:07:15PM -0600, address@hidden wrote:
I am playing with coproc.bash that comes with version 3.2.25
Having no luck

$ coprocess open "/usr/bin/bc -l"
[1] 13460
$ /usr/share/doc/bash-3.2/functions/coproc.bash: line 53: /usr/bin/bc -l:
No such file or directory

It's looking for a file literally named "bc -l" in that directory,
because line 53 looks like this:

       ( "$@" <$fifo.in >$fifo.out ; rm -f "$fifo.in" "$fifo.out" ) &

So remove the quotes around the command.  You want each argument to be
separate.

Thank you
This thing is a real pain in the buttocks
I guess for something better I would have to get a newer version of bash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]