Skip to content

Commit

Permalink
trurl.md: the manpage in markdown
Browse files Browse the repository at this point in the history
Switch format for the main manpage to markdown for convenience - make it
easier to work with.

This version can be converted to an nroff manpage using the cd2nroff
script in the curl repository.
  • Loading branch information
bagder committed Aug 27, 2024
1 parent c6dcf6a commit bada531
Show file tree
Hide file tree
Showing 2 changed files with 347 additions and 254 deletions.
5 changes: 1 addition & 4 deletions mkrelease
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,5 @@ if [ -z "$version" ]; then
exit
fi

ndate=`git log -n1 HEAD --date=format:'%B %d, %Y' --pretty=format:'%ad'`

sed -ie "s/^\.TH.*/.TH trurl 1 \"$ndate\" \"trurl $version\" \"trurl manual\"/" trurl.1

sed -ie "s/^Title: trurl \([0-9.]*\)/Title: trurl $version/" trurl.md
sed -ie "s/\"[\.0-9]*\"/\"$version\"/" version.h
Loading

0 comments on commit bada531

Please sign in to comment.