RE: Unable to access file from shell script (XP configure problem?)

2007-10-25 Thread Patrick Monnerat
Ramon Felciano wrote: > > : No such file or directoryramon.txt > > which looks like it is an error message that overwrote the "/cygdrive/c/Downloads/ramon.txt" pathname. Your shell script

RE: Problem with the dos2unix command

2007-10-19 Thread Patrick Monnerat
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

Problem with the dos2unix command

2007-10-17 Thread Patrick Monnerat
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