| Summary: | typo/bad grammar in indent(1) manpage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | adrian <adrian> | ||||
| Component: | Books & Articles | Assignee: | Giorgos Keramidas <keramida> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
adrian
2005-02-02 17:50:12 UTC
% --- indent.1.orig Thu Feb 3 00:35:20 2005 % +++ indent.1 Thu Feb 3 00:36:37 2005 % @@ -534,7 +534,7 @@ % .Pp % .Dl indent *.c % .Pp % -to the shell in an attempt to indent all the % +To the shell this is an attempt to indent all the % .Em C % programs in a directory. % -This is probably a bug, not a feature. % +It is probably a bug, not a feature. This shows too little context from the original manpage. Reading both the preceding paragraph and the one that follows the displayed material we see: % A common mistake that often causes grief is typing: % % indent *.c % % to the shell in an attempt to indent all the C programs in a % directory. This is probably a bug, not a feature. If you read both these paragraphs as one sentence, it probably makes more sense. I agree it looks a bit confusing though. We can probably rewrite this part as: % A common mistake is to try to indent all the C programs in a % directory by typing: % % indent *.c % % This is probably a bug, not a feature. Sounds good to me. Better than the original. Adrian -- [ adrian@ubergeeks.com ] On Thu, 3 Feb 2005, Giorgos Keramidas wrote: > % --- indent.1.orig Thu Feb 3 00:35:20 2005 > % +++ indent.1 Thu Feb 3 00:36:37 2005 > % @@ -534,7 +534,7 @@ > % .Pp > % .Dl indent *.c > % .Pp > % -to the shell in an attempt to indent all the > % +To the shell this is an attempt to indent all the > % .Em C > % programs in a directory. > % -This is probably a bug, not a feature. > % +It is probably a bug, not a feature. > > This shows too little context from the original manpage. Reading both the > preceding paragraph and the one that follows the displayed material we see: > > % A common mistake that often causes grief is typing: > % > % indent *.c > % > % to the shell in an attempt to indent all the C programs in a > % directory. This is probably a bug, not a feature. > > If you read both these paragraphs as one sentence, it probably > makes more sense. I agree it looks a bit confusing though. > > We can probably rewrite this part as: > > % A common mistake is to try to indent all the C programs in a > % directory by typing: > % > % indent *.c > % > % This is probably a bug, not a feature. > State Changed From-To: open->patched Committed to HEAD. Responsible Changed From-To: freebsd-doc->keramida I'll MFC this in a while. Most likely in a week or so. State Changed From-To: patched->closed The fix of this PR and several other more recent updates to the manpage have been merged to RELENG_5. Thanks for sending this problem report and helping us improve the manpage :-) |