diff options
author | Benjamin Chausse <19275615+ChausseBenjamin@users.noreply.github.com> | 2019-09-19 22:05:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 22:05:42 -0400 |
commit | 983ee53b593b70830aeac5a7dc34e4610e461e35 (patch) | |
tree | ca7e640bc2411506c9bdf486a440b37d8e9e7693 /groffdown | |
parent | 92ec535aaa0d3ce4bd8d60f7ed553ac0435cad54 (diff) | |
parent | e686830c06560f69489c6a9edae909da9e42f4df (diff) |
Merge pull request #1 from ChausseBenjamin/developpement
Developpement
Diffstat (limited to 'groffdown')
-rwxr-xr-x | groffdown | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -35,15 +35,20 @@ output=$( sed -e '1,1d s/`\(.*\)`\(.\)$/\n\.CW\ \"\1\"\ \"\2\"/g s/`\(.*\)`\(.\)/\n\.CW\ \"\1\"\ \"\2\"\n/g + s/^\ ...............-\ /.IP\ \\(bu\ 10\n/g + s/^\ ...........-\ /.IP\ \\(bu\ 8\n/g + s/^\ .......-\ /.IP\ \\(bu\ 6\n/g + s/^\ ...-\ /.IP\ \\(bu\ 4\n/g s/^-\ /.IP\ \\(bu\ 2\n/g + s/^\ .*-\ /.IP\ \\(bu\ 12\n/g ' $1) # echo "$output" | groff -me -ms -kejpt -T pdf > $base.pdf -echo "$output" > $base.ms -groff -ms $base.ms -T pdf > $base.pdf +# echo "$output" > $base.ms +# groff -ms $base.ms -T pdf > $base.pdf -# echo "$output" +echo "$output" # $output >> output.ms # s/\*\*\*.*\*\*\*/Hi\1hi/g |