[clug-talk] Semi-OT: AppleScript Editor
carlsonmark at gmail.com
Thu Apr 30 17:11:27 PDT 2009
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 :-(
On 4/30/09, Robert Lewko <lewkor at gmail.com> 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 <gustin at echostar.ca> 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.
More information about the clug-talk