From: | Michael Haubenwallner <haubi@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] newins "-" for standard input? | ||
Date: | Mon, 23 Mar 2009 16:24:25 | ||
Message-Id: | 1237825459.10316.19.camel@salomon-22 | ||
In Reply to: | Re: [gentoo-dev] newins "-" for standard input? by Timothy Redaelli |
1 | On Mon, 2009-03-23 at 17:11 +0100, Timothy Redaelli wrote: |
2 | > On Monday 23 March 2009 09:22:06 Ulrich Mueller wrote: |
3 | |
4 | > > |
5 | > > newins - baz <<<$'# a short\n# file' |
6 | > |
7 | > Why can't you use "newins /dev/stdin foo" that it works out of the box? |
8 | |
9 | Nope, /dev/stdin isn't portable. |
10 | |
11 | While Linux and Solaris have it, AIX and HP-UX do not |
12 | provide /dev/stdin. Unsure about Interix and MacOSX. |
13 | |
14 | Using '-' sounds familiar for me too. |
15 | |
16 | /haubi/ |