Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Glob problem



Hi,

2013/10/23 Brent Briggs <brent.briggs@xxxxxxxxx>:
> This did the job. I still have one question. I can't find any documentation for the "--" option. What does it do exactly?

Many programs handle this as a flag that says that subsequent
parameters on the command line starting with a dash (“-”) are not
options (while, in general, parameters starting with a dash are
options).

For example:
  rm -f # call rm with the “-f” option
  rm -- -f # call rm on the “-f” file

This is not zsh-specific.

Best regards,

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author