On 02/27/2015 05:11 PM, John Lauro wrote:
Minor nit...  I think your script will have a problem if there is a space in 
the filename...  the find -print0 | while read example should handle spaces...

Not so minor.  I am trying to always remember to surround my stuff in
quotes.  Just like you see me using ${xx} instead of $xx and $()
instead of ``
Revised line:

find -maxdepth 1 -iname \*.pdf -exec echo "\"/opt/pdfstudio9/pdfstudio9\" \"{}\" &" \; >> "${Tmp}"

Reply via email to