Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2002 13:23:54 GMT
From:      Abc Xyz <abc@anchorageinternet.org>
To:        "freebsd-questions" <questions@freebsd.org>
Subject:   burncd parsing
Message-ID:  <200206011323.g51DNsD42542@groggy.anc.acsalaska.net>

next in thread | raw e-mail | index | archive | help
FBSD 4.5

question: why does this work ...

      burncd      -f /dev/cdrom -s 4 data /tmp/cd9660.iso

and this crash?

x=""; burncd "$x" -f /dev/cdrom -s 4 data /tmp/cd9660.iso
burncd: no data format selected: Undefined error: 0

i can't tell if it's sh parsing problem, or a burncd problem.
(i wanted to use "$x" to hold the possible "dummy write" option)

i am guessing the sh is passing a null argument to burncd
(i am not sure if sh should do that ...), and burncd is
crashing on it cuz it doesn't use getopt()
and isn't parsing well?

i notice burncd is very specific about
the order of it's options.

thank you.
please Cc off list.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206011323.g51DNsD42542>