Linda Walsh wrote:
I was wondering about a possible RFE and whether or not
it is "inadvisable" or not.  I'd be surprised if no one had
thought of it -- so maybe there is a problem in doing it.

Just like:
    &>word            #(preferred syntax)
 and
   >&word
 are semantically equivalent to ">word 2>&1"

Has it been thought to make
   |>word            #(preferred form)
 semantically equivalent to "2>&1 | word" ?


I note that ">|" is used to "emphatically overwrite a
pre-existing file when the "-c" option is used to prevent
overwrites.  Why wasn't ">!" used for that?

Also, along the same lines (but less useful, IMO) would be
    &>>word       #(append stderr & stdout to word)

Just an oft recurring thought....

While we're at it, &>- (close stdout and stderr) would be nice!

--
Matthew
"Braaaaaaaaiins!" -- Zombies



Reply via email to