Re: sed "Hello, world!" program?
=?windows-1250?Q?Petr_L=E1z=F2ovsk=FD?= <[email protected]>
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
> On 2014-02-21 22:18, Paolo Bonzini wrote: >> What if some sed versions have a --version that writes to stderr >> rather than stdout? In fact it is not a standard option, and an >> unrecognized option would write a message to stderr, not stdout. >> So you need a 2> > > which doesn't work under cmd.exe :-) > > whereas just about every shell, whether command.com, cmd.exe, bash, > sh, tcsh, csh, zsh, dash, etc... they all support echo, so I > opted to go cross-platform. :-) > > -tkc > Why do you think the stream redirection 2>&1 does not work under cmd.exe? L.