MLUG: Re: [MLUG] backup via cron
Re: [MLUG] backup via cron
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I personally would call this "feature" of bash a bug. It seems natural to me that it should strip out the ^M's before passing it to growisofs.

(On the other hand, I bet the other shells have this problem also.)

Daniel Nowlin wrote:
That was the problem. ^M's.

dvd+rw-format -f /dev/dvd;^M
growisofs -Z /dev/dvd -J -r /var/ftp/files;^M

What is funny is when I edit the file with nano I can not get rid of the ^M's. Has got to be a setting in nano or putty?

Dan

Mike Miller wrote:

On Sat, 4 Feb 2006, Stephen Montgomery-Smith wrote:

My theory was wrong. I don't know why the semi-colon fixed the script. Maybe it is a bug with bash.


_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members