sed VS cat,less,grep,egrep,awk,tac,head,tail,tee; sed not "binary" in pipe (1.3.12)

meant to bounce bounces@trodman.com
Wed Aug 21 13:50:00 GMT 2002


Try:

  printf "hi\r\n"|sed '/foo/d'|od -a

Notice that the "\r" is filtered out.  Only sed acts this way,
cat,less,grep,egrep,awk,tac,head,tail, and tee all pass the
carriage return through.

It would be nice if "sed" behaved consistently w/r to all the
other tools above.

thanks/regards,
--
Tom Rodman
perl -e 'print unpack("u", "\.\=\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");'

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list