Find the answer to your Linux question:
Results 1 to 2 of 2
HI all, I am trying to use ps2pdf with in a shell script. but the problem is that, whenevr I run the ps2pdf from the command prompt with the name ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    ps2pdf in shell scripts

    HI all,

    I am trying to use ps2pdf with in a shell script. but the problem is that, whenevr I run the ps2pdf from the command prompt with the name of file specified in front it works properly . but when ever I give the same file name in the shell script it says that this file can not be found.

    is there any special reason for this??/
    I have lots of ps files and wan to convert them tp pdf in a bach processing.

    if there is any other solution it is appriciated.
    Thanks

  2. #2
    Linux Newbie egan's Avatar
    Join Date
    Feb 2009
    Location
    Mountain View, CA
    Posts
    132
    I'm not sure what's in your shell script, but perhaps if you are doing some sort of argument handling files with spaces are being cut up and each field being sent to ps2pdf, which complains about their inexistence.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...