Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no man page #136

Closed
kretcheu opened this issue Apr 28, 2017 · 3 comments
Closed

no man page #136

kretcheu opened this issue Apr 28, 2017 · 3 comments

Comments

@kretcheu
Copy link

In Debian Policies all binary file must have man page.

I created a simple man page for peek, how can I send to developers?

@phw
Copy link
Owner

phw commented Apr 29, 2017

Sure, makes sense to include it. You can open a pull request with the man page included (I would put it in data/manpage in the repository). I can take care if adding it to cmake to install it. Or just post the man page here in the ticket and I will add it.

@kretcheu
Copy link
Author

I did a txt file and them I use a litle script using txt2man to make groff file.

for NAME in $(find . -maxdepth 1 -name "*txt" -printf "%f\n")
do
LEVEL=$(head -n1 $NAME | cut -d'"' -f2 )
MAN=$(echo ${NAME%%.txt})
head -n1 $NAME > $MAN.$LEVEL
txt2man $NAME | grep -v '^.TH ' >> $MAN.$LEVEL
done

peek.1.txt

peek.man.zip

@phw
Copy link
Owner

phw commented Jun 13, 2017

Thanks a lot for this, I have included the manpage in the build. Will do a new release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants