diff options
| author | EuAndreh <eu@euandre.org> | 2025-08-17 04:11:41 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-08-17 04:11:41 -0300 |
| commit | 7addf3ecc201098ee2009799c98b400646828101 (patch) | |
| tree | b39b0da21d53a08591f25a2010832e86bc7d12e7 /bin | |
| parent | bin/print: Separate rule for text from other file types (diff) | |
| download | dotfiles-7addf3ecc201098ee2009799c98b400646828101.tar.gz dotfiles-7addf3ecc201098ee2009799c98b400646828101.tar.xz | |
bin/print: When text, add line numbers
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/print | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ main() { elif file -b "$FILE" | grep -q PDF; then cp "$FILE" "$NEWDIR"/in.pdf elif file -b "$FILE" | grep -q text; then - enscript -o- "$FILE" | ps2pdf - "$NEWDIR"/in.pdf + enscript -C -o- "$FILE" | ps2pdf - "$NEWDIR"/in.pdf else lp $OPTS "$FILE" return |
