Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
My theory was wrong. I don't know why the semi-colon fixed the script.
Maybe it is a bug with bash.
Daniel Nowlin wrote:
Here is the script:
Stephen Montgomery-Smith wrote:
Mike Miller wrote:
On Fri, 3 Feb 2006, Stephen Montgomery-Smith wrote:
Nowlin, Dan wrote:
Can anybody tell me why these two commands will work in BASH but
not in a script?
dvd+rw-format -f /dev/dvd
growisofs -Z /dev/dvd -J -R /var/ftp/files
Try:
dvd+rw-format -f /dev/dvd
growisofs -Z /dev/dvd -J -R /var/ftp/files ;
(see the added semi-colon).
Very interesting. So, Stephen, where did you come up with that idea?
I'm very impressed.
Mike
I think that the line in question in the script does not end with a
line-feed character (as unix requires) but a carriage-return-line-feed
sequence as DOS requires. The carriage-return becomes part of the file
name. The semi-colon seperates it away.
If Dan could send me the script, but as an attachment, I can look and
see.
Stephen
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members
------------------------------------------------------------------------
dvd+rw-format -f /dev/dvd;
growisofs -Z /dev/dvd -J -r /var/ftp/files;
------------------------------------------------------------------------
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members