diff options
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | TODO | 2 | ||||
| -rwxr-xr-x | gfmt | 9 |
3 files changed, 12 insertions, 0 deletions
| @@ -16,6 +16,7 @@ SCRIPTS = addressgrep \ | |||
| 16 | dmenu-websearch \ | 16 | dmenu-websearch \ |
| 17 | ffmpeg-screenrecord \ | 17 | ffmpeg-screenrecord \ |
| 18 | ffmpeg-facecam \ | 18 | ffmpeg-facecam \ |
| 19 | gfmt \ | ||
| 19 | mail-compose \ | 20 | mail-compose \ |
| 20 | notify-status \ | 21 | notify-status \ |
| 21 | open-file \ | 22 | open-file \ |
| @@ -1,3 +1,5 @@ | |||
| 1 | * gfmt: avoid double spacing within ``` | ||
| 2 | |||
| 1 | * sfeed-browser: optionally just write link to stdout (or to xsel -i) | 3 | * sfeed-browser: optionally just write link to stdout (or to xsel -i) |
| 2 | 4 | ||
| 3 | * Refactor: review all scripts and adapt to common style | 5 | * Refactor: review all scripts and adapt to common style |
| @@ -0,0 +1,9 @@ | |||
| 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 | ||
