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

Re: Need a sponsor/advocate



David Caldwell <david@porkrind.org> writes:

> Hello,
>   First of all, I appreciate the criticism. I've been pondering my eol
>   package throughout the week and I've decided it still has merit. It
>   is not intended to recode between unicode, ebdic, and ascii, like
>   recode. It's merely intended to change out end of lines in a file
>   and make them uniform. Recode can't do this.

Recode won't process files with mixed conventions, that's right. But
"tounix" can actually be replaced by

sed 's/^M$//;s/^M/\
/g'

(^M standing for CR; ASCII 0x0d). Likewise for the tomac etc. tools.

-- 
Robbe

Attachment: signature.ng
Description: PGP signature


Reply to: