Skip to content

Conversation

@lewiscollard
Copy link

@lewiscollard lewiscollard commented Jan 10, 2025

Currently the only extended documentation is in the PNG file, which cannot be copy-pasted or read easily by people not using graphical displays. So I pulled the original man page from the MWC sources, and reformatted it to use -man macros to the best of my ability. I lightly edited some text while I was there; those edits should not change any meaning. I also documented the -l option, because that was not in the original man page (obviously).

For posterity, I've included the original manual page sources; this will allow anyone to come by and do a better job of the same conversion later.

Also, I did a driveby add of .gitignore so that the compiled binary lc doesn't ever get accidentally committed to the repo. You can guess why I found the need for that.

Thanks for porting a bit of history to modern systems! I like lc, and not just because it has the same initials as me.

@lewiscollard lewiscollard force-pushed the man-page branch 3 times, most recently from d54b4ef to cf017f6 Compare January 10, 2025 12:58
@dbohdan
Copy link

dbohdan commented Jan 10, 2025

This is cool. I have merged this PR in my very new Go port, lc-go. I found that I had to rename lc.man to lc.1 because man ./lc.man didn't work on NetBSD. (lc itself builds and works on NetBSD.)

@lewiscollard
Copy link
Author

I found that I had to rename lc.man to lc.1 because man ./lc.man didn't work on NetBSD.

Thanks for that - that is probably the correct naming convention. :) Fixed in the latest force push.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants