Example provided on the FreeBSD man page of cut.
Examples provided on the Linux man page of xargs.
More examples provided on the Linux man page of find.
The xargs man page is ought to have some examples, I agree.
The find manual is lengthy (as it has a bunch of options) but not excessively so and it also has a good bunch of examples.
Edit: it also helps to be familiar with the pager, like using the search feature (hit / , n, n, Shift+n, ...) and the jump keys (G and g).
Those who can't, teach
Those who can't teach, write
Those who can't write, write man pages
Rather a disappointment.
What happened to ‘info’ pages. I hated it, but wasn’t that supposed to address these kinds of issues with examples?
$ info grepThe info for gcc is a printed book, which is also accessible in the shell as hypertext (which predates html).
See e.g. https://metacpan.org/pod/release/PHRED/Archive-Zip-1.62/lib/...
This other response says it better: https://news.ycombinator.com/item?id=17801788
This is an honest question. Friction and barriers to entry reduce contributions.
> The time you spend on the man page is time taken away from more useful work.
Making sure your users know how your program works, how to use it and what it's capable of seems incredibly important and useful to me.
If it weren't for Arch Linux's fantastic focus on documenting everything to do with Linux, I wouldn't be using Linux at all.
https://www.gnu.org/prep/standards/html_node/Documentation.h...
See https://www.gnu.org/prep/standards/html_node/GNU-Manuals.htm...
I've tried in the past, it doesn't work out (not man pages, but I was fixing a bug and yeah, three, four submissions was enough for me to quit trying)
That’s not to say that Github pull requests and the like are perfect (far from it) but it’s undeniable that they smooth the process quite considerably and make contribution far more accessible.
1. One account for manifesting your chosen identity, which you likely already have.
2. One common way of getting the source code and sending diffs/patches (read: PRs).
The workflow is quite similar, in the abstract. But GitHub and friends solve important pain points.You also have an email address, so. You need an email address to get a GitHub account, so technically it's harder to set up GitHub.
2. One common way of getting the source code and sending diffs/patches (read: PRs).
This is built into git. Don't need GitHub for either.
Perhaps the last argument I have is that I've heard a number of times about moving a project to GitHub (for example: the Go language or Vim the editor), but decidedly less often one hears of projects moving away from GitHub towards older forms (such as the wonderfully documented https://gcc.gnu.org/contribute.html). Despite the great documentation, I'm somehow not drawn to hacking on it to fix a small glitch, due to the overhead that entails. Mind, some of that overhead would be incurred just once, as it is general to the mailing list approach to collaboration. That, I believe, is another advantage of a project being on GitHub: for almost all projects there's a standard way of sending your patch: make a pull request.
About your counterpoints:
1. True. I was thinking of the bug trackers many mailing-list oriented projects have, which often require creating accounts just to file a bug. 2. I was more referring to things like (1) where to find the clone URL and (2) how to send a patch (the make a PR button is always the same).
Removing friction (even small frictions) will enable fishing for the long tail of small fixes. On the other side, I do not believe large contributions are greatly affected by the differences between these systems.
lrf, guvf vf n cha