7 lines
137 B
Plaintext
7 lines
137 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
NAME=$(basename "${1}" .pdf)
|
||
|
FIXED="${NAME}-fixed.pdf"
|
||
|
pdftops "${1}" - | ps2pdf12 - "${FIXED}"
|
||
|
xdg-open "${FIXED}"
|