9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Instituting a pipe in my program
@ 2007-11-11 15:52 Pietro Gagliardi
  2007-11-11 18:24 ` Skip Tavakkolian
  0 siblings, 1 reply; 6+ messages in thread
From: Pietro Gagliardi @ 2007-11-11 15:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello. I'm writing a Plan 9 version of the UNX cut utility and I was  
wondering if there was an alternative to the popen()/pclose() system.  
The reason is that my cut synthesizes the command line (an awk  
command line) for piping to rc. Thanks.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Instituting a pipe in my program
  2007-11-11 15:52 [9fans] Instituting a pipe in my program Pietro Gagliardi
@ 2007-11-11 18:24 ` Skip Tavakkolian
  2007-11-11 18:37   ` Skip Tavakkolian
  0 siblings, 1 reply; 6+ messages in thread
From: Skip Tavakkolian @ 2007-11-11 18:24 UTC (permalink / raw)
  To: 9fans

> Hello. I'm writing a Plan 9 version of the UNX cut utility and I was  
> wondering if there was an alternative to the popen()/pclose() system.  
> The reason is that my cut synthesizes the command line (an awk  
> command line) for piping to rc. Thanks.

i recall Geoff wrote a version for a Rangboom component.
i''ll find it and put it on sources.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Instituting a pipe in my program
  2007-11-11 18:24 ` Skip Tavakkolian
@ 2007-11-11 18:37   ` Skip Tavakkolian
  2007-11-11 18:39     ` erik quanstrom
  2007-11-12  1:25     ` Pietro Gagliardi
  0 siblings, 2 replies; 6+ messages in thread
From: Skip Tavakkolian @ 2007-11-11 18:37 UTC (permalink / raw)
  To: 9fans

>> Hello. I'm writing a Plan 9 version of the UNX cut utility and I was  
>> wondering if there was an alternative to the popen()/pclose() system.  
>> The reason is that my cut synthesizes the command line (an awk  
>> command line) for piping to rc. Thanks.
> 
> i recall Geoff wrote a version for a Rangboom component.
> i''ll find it and put it on sources.

/n/sources/contrib/fst/popen.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Instituting a pipe in my program
  2007-11-11 18:37   ` Skip Tavakkolian
@ 2007-11-11 18:39     ` erik quanstrom
  2007-11-11 18:43       ` Skip Tavakkolian
  2007-11-12  1:25     ` Pietro Gagliardi
  1 sibling, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2007-11-11 18:39 UTC (permalink / raw)
  To: 9fans

>>> Hello. I'm writing a Plan 9 version of the UNX cut utility and I was  
>>> wondering if there was an alternative to the popen()/pclose() system.  
>>> The reason is that my cut synthesizes the command line (an awk  
>>> command line) for piping to rc. Thanks.
>> 
>> i recall Geoff wrote a version for a Rangboom component.
>> i''ll find it and put it on sources.
> 
> /n/sources/contrib/fst/popen.c

can't open /n/sources/contrib/fst/popen.c: '/n/sources/contrib/fst/popen.c' permission denied

- erik


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Instituting a pipe in my program
  2007-11-11 18:39     ` erik quanstrom
@ 2007-11-11 18:43       ` Skip Tavakkolian
  0 siblings, 0 replies; 6+ messages in thread
From: Skip Tavakkolian @ 2007-11-11 18:43 UTC (permalink / raw)
  To: 9fans

> can't open /n/sources/contrib/fst/popen.c: '/n/sources/contrib/fst/popen.c' permission denied

fixed. thanks.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Instituting a pipe in my program
  2007-11-11 18:37   ` Skip Tavakkolian
  2007-11-11 18:39     ` erik quanstrom
@ 2007-11-12  1:25     ` Pietro Gagliardi
  1 sibling, 0 replies; 6+ messages in thread
From: Pietro Gagliardi @ 2007-11-12  1:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Thanks for the info. I just realized I made cut wrong, and I don't  
want to go through the pressure of retrofitting the right way on, so  
I'll just start over later.

On Nov 11, 2007, at 1:37 PM, Skip Tavakkolian wrote:

>>> Hello. I'm writing a Plan 9 version of the UNX cut utility and I was
>>> wondering if there was an alternative to the popen()/pclose()  
>>> system.
>>> The reason is that my cut synthesizes the command line (an awk
>>> command line) for piping to rc. Thanks.
>>
>> i recall Geoff wrote a version for a Rangboom component.
>> i''ll find it and put it on sources.
>
> /n/sources/contrib/fst/popen.c
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-12  1:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-11 15:52 [9fans] Instituting a pipe in my program Pietro Gagliardi
2007-11-11 18:24 ` Skip Tavakkolian
2007-11-11 18:37   ` Skip Tavakkolian
2007-11-11 18:39     ` erik quanstrom
2007-11-11 18:43       ` Skip Tavakkolian
2007-11-12  1:25     ` Pietro Gagliardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).