Andreas Schwab wrote:
Matthew Woehlke writes:
Actually, dos2unix (the one I have, anyway) *does* do a few things that
aren't so trivially done with sed. For one, it is in-place (unless told
otherwise), and has --keepdate. In-place is awkward to do with sed.
GNU sed has --in-place since some time. Note also that recode can do
CRLF/LF conversions (and does in-place conversions).
Huh, never new about '--in-place' (sure wish I did!). But what is
'recode'? I don't seem to have a "recode", nor do I see anything about
"recode" in sed. Did you mean iconv? (Maybe the real answer is
'coreutils already has d2u and friends, they just aren't obvious'?)
...and what about --keepdate? :-)
--
Matthew
$ kill bill
kill: can't find process "bill"
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils