[syslinux] ppmtolss not shell user-resistant
Martin Vogt
mvogt at rhrk.uni-kl.de
Sat Jan 12 07:31:03 PST 2002
Hello,
if I use bash instead of tcsh the ppmtolss does not
work.
Prove:
This is my modificatio to the code:
print STDERR "$arg hi\n";
foreach $arg ( @ARGV ) {
print STDERR "hi\n";
This is the output:
vogt at bockstein[syslinux-1.65]>echo $SHELL
/bin/bash
vogt at bockstein[syslinux-1.65]>./ppmtolss16 #d2d2d2=7 <a.ppm >a.lss
hi
vogt at bockstein[syslinux-1.65]>tcsh
vogt at bockstein [25] (0) [...syslinux-1.65]./ppmtolss16 #d2d2d2=7 <a.ppm >a.lss
hi
hi
210, 210, 210
Hm, it took me some time until I found out that I need to escape "#" ->"\#".
(in bash)
Ok, I know that everyone who uses bash knows this, except me.
Maybe a short hint in the README would be nice.
regards,
Martin
More information about the Syslinux
mailing list