On 20 October 2007 02:39, Buchbinder, Barry (NIH/NIAID) wrote:
>
> For the record, shouldn't the following work?
>
> sed -i -e 's/\r$//' file1, file2, ...
Yes, but needs the -b flag.
cheers,
DaveK
--
Can't think of a witty .sigline today
--
Unsubscribe info: http://cyg
From: d.henman, Sent: Saturday, October 20, 2007 8:46 PM
> Buchbinder, Barry (NIH/NIAID) [E] <[EMAIL PROTECTED]> wrote:
> > From: Patrick Monnerat; Sent: Wednesday, October 17, 2007 7:00 AM
> > > I'm trying to convert a \r\n line-ending file to unix style, but
> > > this file has some lines with t
From: Patrick Monnerat; Sent: Wednesday, October 17, 2007 7:00 AM
> I'm trying to convert a \r\n line-ending file to unix style, but this
> file has some lines with their last character being \r (i.e.: the
> sequence of binary bytes is ...\r\r\n...)
>
> Using dos2unix to convert it strips both \r,
Charles Wilson wrote:
> If someone were to submit a patch to add an optional, "non-greedy"
mode to dos2unix it would be thoughtfully considered...
So here is it!
It adds the following new options to conv, dos2unix and unix2dos:
_ --full/--eol: in full mode (default), it behaves as ever. In e
On 18 October 2007 06:07, Charles Wilson wrote:
> Patrick Monnerat wrote:
>> I'm trying to convert a \r\n line-ending file to unix style, but
>> this file has some lines with their last character being \r (i.e.: the
>> sequence of binary bytes is ...\r\r\n...)
>>
>> Using dos2unix to convert
Patrick Monnerat wrote:
I'm trying to convert a \r\n line-ending file to unix style, but
this file has some lines with their last character being \r (i.e.: the
sequence of binary bytes is ...\r\r\n...)
Using dos2unix to convert it strips both \r, resulting in a byte
sequence ...\n...
Thi
Hello list,
I'm trying to convert a \r\n line-ending file to unix style, but
this file has some lines with their last character being \r (i.e.: the
sequence of binary bytes is ...\r\r\n...)
Using dos2unix to convert it strips both \r, resulting in a byte
sequence ...\n...
This seems to me
7 matches
Mail list logo