Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Q: PIO_unix_pipe
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leopold Toetsch  
View profile  
 More options Jun 7 2004, 8:07 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Mon, 7 Jun 2004 14:07:37 +0200
Local: Mon, Jun 7 2004 8:07 am
Subject: Re: Q: PIO_unix_pipe

Leopold Toetsch <l...@toetsch.at> wrote:
> * there is no opcode to use it, e.g.:
>    Pio = backtick Scmd, Pargv, Iflags

I've now integrated that into the C<open> opcode:

  .local pmc pipe
  pipe = open "/bin/cat -n", "|-"

  # or

  pipe = open "/bin/ls -l", "-|"

There is still no good way to pass arguments to commands - currently the
given command gets split at spaces, which is of course broken with
respect to quoted args.

examples/io/pipe{2,3}.imc shows both kind of usage.

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.