Add examples provided by Mark Saad.
Details
Details
- Reviewers
ziaee carlavilla mhorne eadler - Group Reviewers
manpages - Commits
- rG86dc5dd0b2a8: newgrp.1: Provide examples
PR: 167742
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| usr.bin/newgrp/newgrp.1 | ||
|---|---|---|
| 72–79 | You probably want to use # as a root shell prompt and $ for non-root. Another option is to remove the prompt completely. | |
| usr.bin/newgrp/newgrp.1 | ||
|---|---|---|
| 71–80 | It would need to look something like this, but I think this probably shouldn't go here, and should instead be an example in pw(8). | |
| 72–79 | Using prompts in examples is highly undesirable because of copy paste. If using prompt, using % for user shell prompt is fine, bsd traditional, but # must be used to represent root shell prompt. | |