You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
295 B

1 year ago
  1. #!/bin/bash
  2. # sed Removes trailing whitespace in <pre> elements
  3. wget --timestamping "https://git.meli.delivery/meli/meli/raw/branch/master/"$1 -O - | mandoc -I os="rendered by mandoc" -Kutf-8 -Ofragment,toc,style="css/manpage.css",includes="#%I",man="#%N.%S" -Thtml | sed 's/\s*<\/pre/<\/pre/'