Re: sh --
- From: Enrique Sanchez Vela <esanchezvela@xxxxxxxxx>
- Date: Thu, 25 May 2006 20:29:11 -0700
--- Bob Booth - UIUC <booth@xxxxxxxx> wrote:
On Wed, May 24, 2006 at 05:45:45PM +0800, Rick
wrote:
Hello,server. could someone tell me
I saw a process, sh -- ./start, in my AIX
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
- References:
- Re: sh --
- From: Bob Booth - UIUC
- Re: sh --
- Prev by Date: Re: sysdump copy dir.
- Next by Date: Re: snmp questions
- Previous by thread: Re: sh --
- Next by thread: AIX Partitioning - help please
- Index(es):
Relevant Pages
|
|