NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Funny redirecting? (Score:1)
Uh... wouldn't "2>&1 >/dev/null" just put what's going to stderr to stdout and what's going to stdout to nothing, as opposed to both stderr and stdout to nothing?
I think you need "2>/dev/null" for what you want.
The new Strawberry Perl for Windows has been released! Check http://strawberryperl.com for it.
Re:Funny redirecting? (Score:2)
Yes.
No. :-)
I'm relying on the order of parsing of pipes and redirection.
git fetch -q 2>&1 >/dev/null </dev/null | catis parsed as run this:piped to that:
Then,
git fetch -q 2>&1 >/dev/null </dev/nullis parsed as/dev/null/dev/nullAt which point no file descriptor that :-)
gitcan see is a tty (in case it behaves differently, à lagit log), but stderr is still open so I can follow advice from Klortho [google.com] 11906, 11914, 11919, 11920, and especially 11922At which point I want the command to get the hint and be silent, dammit, if nothing is wrong, but it's simply not taking the hint. :-(
Reply to This
Parent
Re: (Score:1)
The new Strawberry Perl for Windows has been released! Check http://strawberryperl.com for it.