Re: sed "Hello, world!" program?
Tim Chase <[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>&1. 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