baruchel / txt2pdf

Text to PDF converter with Unicode support
MIT License
75 stars 46 forks source link

HINT: Piping - Make my own Documentation #13

Closed afgcons closed 2 years ago

afgcons commented 3 years ago

txt2pdf -h | txt2pdf /dev/stdin -o txt2pdf_help.pdf

sudo fdisk -l | txt2pdf /dev/stdin -o disks.pdf

/dev/stdin as text input file name is working (as expected) ! txt2pdf.py copied to /usr/local/bin as txt2pdf

clach04 commented 2 years ago

Neat, linked to in the wiki https://github.com/baruchel/txt2pdf/wiki#using-pipes - closing.