https://github.com/diversen/pdftotext-sanitize
Sanitizes pdftotext output
https://github.com/diversen/pdftotext-sanitize
Last synced: 12 months ago
JSON representation
Sanitizes pdftotext output
- Host: GitHub
- URL: https://github.com/diversen/pdftotext-sanitize
- Owner: diversen
- Created: 2016-04-15T13:00:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-21T09:02:04.000Z (over 10 years ago)
- Last Synced: 2025-04-02T07:28:34.489Z (over 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pdftotext sanitize
Sanitize output from pdftotext (or pdftohtml)
Actually pdftohtml is easier to copy-paste from, than pdftotext
Trim strings
Remove trailing '-'
Remove double newlines
# Install
git clone https://github.com/diversen/pdftotext-sanitize
cd pdftotext-sanitize
composer update
php index.php file-tosanitize.txt
Will echo to std output.