On Mon, 29 Nov 1999, T.V.Gnanasekaran wrote:
> When I came to Linux I discovered all command line options were
> using two hyphens (--) instead of single -.
>
> For example: ls --color
A single hyphen is meant for "collated options". like in tar -xvzf.
To distinguish "-color" from "-c -o -l -o -r", you use "--"
Long options are made longer to distinguish them from the short ones.
Welcome to Unix ;)
Gurunandan
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.