![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sed changes go to standard out....? | jimmyc | Shell Programming and Scripting | 6 | 03-26-2008 12:01 PM |
| Synopsis 0.10 (Default branch) | iBot | Software Releases - RSS News | 0 | 03-20-2008 08:40 PM |
| To know the standard | nagalenoj | UNIX for Advanced & Expert Users | 2 | 02-07-2008 11:30 AM |
| sudo & Sox compliance | rwallaceisg | UNIX for Advanced & Expert Users | 1 | 05-16-2007 06:13 PM |
| standard input | Jariya | Shell Programming and Scripting | 1 | 06-06-2006 12:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
man synopsis standard compliance
In different online sources, I found bits and pieces of information about those square and angular brackets and pipes. From what I have read, I can conclude it looks like this:
1. Options outside any brackets are mandatory 2. Options inside these < .. > are mandatory too 3. Options inside [ .. ] are optional 4. | works like an "exclusive or", separating options inside the brackets they are placed (or outside in case they are not inside any brackets). 5. Options listed with no separators with '-' in front (ex: -abcd) can be used in any combination with each other (i.e. "inclusive or") First problem is that I'm not even sure I am correct here. Second, I cannot convince developers (I am a tester) to be compliant with any standard in user's manual and in help, since I cannot find any standard. Our project has several dozens of command line utilities each with elaborate parameter strings. The developers make them even more confusing by using '|' both as exclusive and inclusive or. In our latest release I realized that those confuse even me, so I'm concerned about our clients. Is there any standard to which man synopsis with those brackets and pipes is compliant? Is there any convincing source online, where that standard is carefully described? Last edited by vkleban; 12-05-2007 at 05:33 PM.. |
|
||||
|
Interesting, GNU coding standards are very lean on this topic.
I've had a look at a Solaris example... Code:
man [-] [-adFlrt] [-M path] [-T macro-package] [-s section]
name...
|
![]() |
| Bookmarks |
| Tags |
| linux commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|