[gs-bugs] [Bug 692322] New: ps2pdf.1: please clarify that output goes to cwd by default

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Jul 4 01:00:03 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692322

           Summary: ps2pdf.1: please clarify that output goes to cwd by
                    default
           Product: Ghostscript
           Version: master
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: P4
         Component: Documentation
        AssignedTo: support at artifex.com
        ReportedBy: jrnieder at gmail.com
         QAContact: gs-bugs at ghostscript.com


Today I wanted to view a manual page with a PDF viewer:

 $ man -t ls >/tmp/ls.ps
 $ ps2pdf /tmp/ls.ps
 $ run-mailcap /tmp/ls.pdf
 Error: no such file "/tmp/ls.pdf"

Weird.  So I tried again:

 $ ps2pdf /tmp/ls.ps; echo $?
 0
 $ run-mailcap /tmp/ls.pdf
 Error: no such file "/tmp/ls.pdf"

Looking at the manpage, I see

| If the output filename is not specified, the output is placed
| is a file of the same name with a '.pdf' extension. Either the
| input filename or the output filename can be '-' to request
| reading from stdin or writing to stdout, respectively

I know I should have expected output to go to the cwd, following the usual
convention followed by tools like "cc -c", but for some reason I didn't.  How
about this patch?

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list