Wed Sep 13 20:37:00 GMT 2006
Shankar Unni wrote:
> Eric Blake wrote:
>> But I intend that on binary files, \r\n line endings will treat the \r
>> as part of the line, so at least binary mounts won't suffer from the
>> speed impact of treating a file as unseekable the way bash 3.1-6 does.
> Would it be possible to do this dynamically (instead of keying off of
> mounts, etc.): if the first line of the file read by bash has a \r\n,
> use text-mode (1-char-at-a-time) semantics, else use binary semantics
I hate to say this, but... if bash goes this route, could it be a shopt?
I would rather know that my scripts are broken (DOS-format).
62% of all statistics are made up on the spot.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin