diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2021-05-01 11:12:23 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2021-05-01 11:12:23 -0400 |
commit | 16436494f6b7fff2eae8418746af01ee52f7565d (patch) | |
tree | 665608c8d4e858d757502e3795db3ef7821c4869 /.local/bin/manualgen | |
parent | 9ed9de5006d437e126c5871dc0cf38a02825aabb (diff) | |
parent | a8604b71a10edda8c08b909ce1fb63aca653d77e (diff) |
Merge branch 'master' of git://git.chausse.xyz/dotfiles
Diffstat (limited to '.local/bin/manualgen')
-rwxr-xr-x | .local/bin/manualgen | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/manualgen b/.local/bin/manualgen index 738ef5c..16a7653 100755 --- a/.local/bin/manualgen +++ b/.local/bin/manualgen @@ -10,10 +10,10 @@ s/\s*#-#$/\n##/; sed "s/-->/##\ /; s/:\(.*\)$/:\1\`/; s/\s+\s/+/g; - s/#\*\*:.*//") + s/#\*\*:.*//; + s/\(^##.*\)/\1\n/g") manual=$(cat $HOME/.config/manual.part) -printf " $manual \n $config" | gd2pdf +printf "$manual\n$config" | lowdown -sTms | pdfroff -itk -mspdf | zathura - -# printf " $manual \n $config" |