-----Original Message-----
From: George Gallen [mailto:ggallen slackinc com]
Sent: Thursday, October 03, 2002 11:17 AM
To: 'enigma-list redhat com'
Subject: RE: strange "Cannot execute binary file" error messageDoesn an ESC character need to be escaped (ie. \)The first echo, even though it looks like "2" is really"^]L2" (esc L 2)do I need to change that to be:"\^]L2"?This works fine on our Tru64 system, so I didn't think it needed to bechanged for bash.George-----Original Message-----
From: George Gallen [mailto:ggallen slackinc com]
Sent: Thursday, October 03, 2002 10:57 AM
To: 'enigma-list redhat com'
Subject: strange "Cannot execute binary file" error messagethe "{tof}" within this message is actually a x0c Control V, Control L
The usage being: echo "testing" | ./driver.PR22(echo -n "2" ; cat - | /usr/mbin/lf2crlf ; echo -n "{tof}") | lp -d PR32
gives the following error:
SH: ./driver.PR22: cannot execute binary fileand the file's permissions:
-rwxr-xr-x 1 root daemon 73 Dec 12 2000 driver.PR22BUT.....
(cat - | /usr/mbin/lf2crlf ; echo -n "{tof}") | lp -d PR32
works fineand it's permissions:
-rwxr-xr-x 1 root daemon 57 Dec 5 2000 driver.PR32
any idea of what is happening? why it won't execute the script?
George