[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include dos2unix/unix2dos in coreutils ?

From: Matthew Woehlke
Subject: Re: include dos2unix/unix2dos in coreutils ?
Date: Mon, 13 Nov 2006 11:45:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

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? :-)

$ kill bill
kill: can't find process "bill"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]