This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add new cmd line parameter "--pid" for attach.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: Andrew Cagney <ac131313 at cygnus dot com>, Michael Snyder <msnyder at redhat dot com>, Elena Zannoni <ezannoni at cygnus dot com>, gdb-patches at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 11 Jan 2002 10:18:49 +0000
- Subject: Re: [RFA] Add new cmd line parameter "--pid" for attach.
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Andrew Cagney writes:
> > > "To remove a file called `-f' in the current directory, you could type
> > > either rm -- -f or rm ./-f "
> >
> >
> > ``--''? Since when was ``--'' an option to rm? You'll be telling me
> > UNIX comes with colour LS next .... :-^
> >
>
> yes, true, it is in the man page for rm on RH7.1!
>
> > Yes. The use of ./1234 should be documented. So should (in the NEWS
> > file) the quiet switch of how <pid> vs <core> is decided.
> >
>
> Michael added this to the doco, yes.
>
> Elena
>
>
> > Andrew
Solaris uses a single '-' to mark the end of the options list:
NOTES
A - permits the user to mark explicitly the end of any com-
mand line options, allowing rm to recognize file arguments
that begin with a -. As an aid to BSD migration, rm will
accept - as a synonym for -. This migration aid may disap-
pear in a future release. If a - and a - both appear on the
same command line, the second will be interpreted as a file.