|
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:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 |
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"
[Prev in Thread] | Current Thread | [Next in Thread] |