diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-17 18:47:18 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-17 18:47:18 +0200 |
| commit | de2e9cd47bb9ba35e9c62894c7c6a09551640068 (patch) | |
| tree | 5fa5256b184ed427abcc04a038e5bca1ab936483 /gfmt | |
| parent | f018806b598f752c021be814de4ad641082a0ab9 (diff) | |
| download | scripts-de2e9cd47bb9ba35e9c62894c7c6a09551640068.tar.gz scripts-de2e9cd47bb9ba35e9c62894c7c6a09551640068.zip | |
Moved to old; it was a decent attempt, but gmnlm has a better pager, only lacking scrollback
Diffstat (limited to 'gfmt')
| -rwxr-xr-x | gfmt | 9 |
1 files changed, 0 insertions, 9 deletions
| @@ -1,9 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Format text from gemtext format to short lines with double \n | ||
| 4 | |||
| 5 | # TODO: remove double spacing from within ``` | ||
| 6 | |||
| 7 | sed 's/ //' | \ | ||
| 8 | sed 'a\\' | \ | ||
| 9 | fold -sw 80 | ||
