fdservices
IS-IT--Management
My tcl code includes the line:
exec /var/spool/fax/index/$x/delete
which is fine as long as $x does not include any starnge characters or white space, eg "Program Files". However
exec '/var/spool/fax/index/$x/delete'
thows up an error although
# exec '/var/spool/fax/index/what ever (I) like/delete'
works at the command line. I have struggled with this but can't think of the solution.
Anyone help me out please?
exec /var/spool/fax/index/$x/delete
which is fine as long as $x does not include any starnge characters or white space, eg "Program Files". However
exec '/var/spool/fax/index/$x/delete'
thows up an error although
# exec '/var/spool/fax/index/what ever (I) like/delete'
works at the command line. I have struggled with this but can't think of the solution.
Anyone help me out please?