scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

gfmt (170B)


      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