This is on Solaris 2.6 .
Given this program (which is not the actual program, but serves to
illustrate the problem I am having):
#!/bin/sh
MKISOFS='mkisofs -r -l -f -v -graft-points "patient_1318/=/data/study/patient_1318"'
$MKISOFS >/dev/null
...I get this when I run it:
./runprog
mkisofs 1.15a09 (sparc-sun-solaris2.6)
mkisofs: No such file or directory. Invalid node - /data/study/patient_1318"
Somehow mkisofs is getting the 2nd '"' into its argv[6]. Why? Obviously,
the first '"' is getting removed by the shell before passing the args to
mkisofs - why doesn't the 2nd?
This question is more academic than anything - I can work around it. In fact,
I'll have to! I just want to understand what is happening.
--
Griff Miller II | |
Manager of Information Technology | "Do Lipton employees take coffee breaks?" |
Positron Corporation | |