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

#!/bin/bash
# sed Removes trailing whitespace in <pre> elements
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/'