diff options
Diffstat (limited to 'scripts/old/gfmt')
| -rwxr-xr-x | scripts/old/gfmt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/old/gfmt b/scripts/old/gfmt deleted file mode 100755 index d38351f..0000000 --- a/scripts/old/gfmt +++ /dev/null | |||
| @@ -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 | ||
