Re: sh --



--- Bob Booth - UIUC <booth@xxxxxxxx> wrote:

On Wed, May 24, 2006 at 05:45:45PM +0800, Rick
wrote:
Hello,
I saw a process, sh -- ./start, in my AIX
server. could someone tell me
what does the "--" mean? Much thanks!

As long as '-' or '--' is the first operand, it does
nothing and is ignored.

bob


the double dash (--) tells the command that the last
option was entered, for example if you are looking for
the "-e" sequence on a group of files you would use...

grep -- -e <files>

with the -- grep knows that -e is not an option to it
but the actual string to look for.

regards,
enrique.


Enrique Sanchez Vela
email: esanchezvela@xxxxxxxxx
--------------------------------------
It's often easier to fight for one's
principles than to live up to them
Adlai Stevenson

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Relevant Pages

  • Re: script help
    ... number of lines varies that needs to be joined. ... Enrique Sanchez Vela ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • Re: command to monitor fiber channel adapters?
    ... we monitor the traffic at the switch level via ... Enrique Sanchez Vela ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • Re: What will you be hunting with this Fall?
    ... > a rear sight and a slightly prouder front sight than ... > add a forward sling loop and a sling button toward the ... > Do You Yahoo!? ... Mail has the best spam protection around ...
    (rec.hunting)
  • Re: Ousted
    ... South Korean PM played golf....result? ... asked him to resign. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (soc.culture.singapore)
  • Re: Duplicate disk in a volume group
    ... think this one would not be good because there is still an entry for a GOOD ... Duplicate disk in a volume group ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)