I see someone else has shared the same frustrations I have. On Thu, Apr 30, 2009 at 6:11 PM, Mark Carlson <[email protected]> wrote:
> Not counting the hours wasted because you emailed someone a shell > script with Unix line endings, they opened it in their Windows email > client and text editor (Notepad, namely,) then SCP'd it to a Linux > computer, and it will no longer run in Bash? > > I think it's more than hundreds of thousands of hours then :-( > > -Mark C. > > On 4/30/09, Robert Lewko <[email protected]> wrote: > > When I was referring to hours wasted it was the time writing programs to > > account for the two character line ending as opposed to the single > character > > for mac and *nix. > > > > > > On Thu, Apr 30, 2009 at 5:54 PM, Gustin Johnson <[email protected]> > wrote: > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > > > > Robert Lewko wrote: > > > > I may be mistaken on this, but I think they use a \r for a line > ending.� > > > > At least its only a single character.� I will bet that hundreds of > > > > thousands of hours have been wasted on dos/windows because they use > \r\n > > > > for their "newline". > > > > > > > It depends on the application. Notepad++ and metapad are Windows > > > programs that have no problem with either format. > > _______________________________________________ > clug-talk mailing list > [email protected] > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying >
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

