[MacPorts] #58449: pstotext @1.9 Doesn't work anymore
MacPorts
noreply at macports.org
Thu May 23 17:38:08 UTC 2019
#58449: pstotext @1.9 Doesn't work anymore
-----------------------------------+--------------------
Reporter: tmfuchs | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: pstotext ghostscript |
-----------------------------------+--------------------
Comment (by kencu):
I recall now -- I'm sorry. I use `ps2ascii` to do this function, which is
in the `ghostscript` package. Not sure if it's 100% identical to what
`pstotext` does, but works for what I need it to do. It seems to read
`pdf` files too. It had no trouble with your test pdf.
I had trouble with it once in a script, fixed by running it as sudo.
{{{
$ port -v installed ghostscript
The following ports are currently installed:
ghostscript @9.26_0+x11 (active) platform='darwin 8' archs='ppc'
date='2018-12-10T00:04:15-0800'
$ port contents ghostscript | grep ps2ascii
/opt/local/bin/ps2ascii
/opt/local/share/man/de/man1/ps2ascii.1
/opt/local/share/man/man1/ps2ascii.1.gz
$ /opt/local/bin/ps2ascii test.pdf
This is a test.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58449#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list