Tar cfb - 20 options are required, so leading - isn't needed, and the option arguments aren't immediately after the opions, but rather the options requiring arguments take the options arguments in corresponding order after the options. Many of the conventions/standards very well established.Īnd, sure, always some exceptions. Write errors and diagnostics to stderr, not stdout, and regular output to stdout, not stderr. Some also allow - to be given to explicitly stand for stdin or stdout - as appropriate - very handy when the command needs such specified as a "file" argument.Īnd exit/return code of 0 if all was successful/okay, non-zero for errors and other exceptional conditions. at least for commands where processing input from files makes sense. option_long_name - which are more than one character after after the - so they also then can't be combined together like the single letter options.Īnd, for the most part, most commands default to reading stuff from stdin if not given arguments, or if given non-option arguments, will read those as files for input. Ĭommand Īnd if an option requires an argument: -option_letter option_argumentĪnd some commands will allow those to be run together without whitespace between. What's more standard - and yes, of course, exceptions - e.g. until they're not (eventually run out of letters, or collisions on same letter). They won't, e.g., use the same letters for the same things on all of them. but it's big, complex, changes over time, and there are lots of exceptions, and no shortage of unspecified and implementation dependent, etc.Īnd -R on sort is random.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |