Scott Ferguson <prettyfly.producti...@gmail.com> writes: > On 27/06/11 00:55, William Hopkins wrote: >> On 06/26/11 at 09:45pm, Scott Ferguson wrote: >>> On 26/06/11 19:25, Tom Furie wrote: >>>> On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote: >>>>> On 25/06/11 10:16, lee wrote: >>> >>> <snipped> >>> What does the "--" do?? >> >> POSIX standard is for -- to signify end of options, so anything beyond that >> cannot be processed as a switch/option. >> >> ,----------- >> | Guideline 10: >> | The first -- argument that is not an option-argument should be accepted >> as >> | a delimiter indicating the end of options. Any following arguments should >> be >> | treated as operands, even if they begin with the '-' character. >> ,----------- >> > > Thanks -- should prove very useful (much simpler safety than other > proposals). Also explains why it didn't throw an error.
There's a difference between "touch -- file*" and "touch "file*"", isn't there? The guideline also says "should", not "must". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871uyfo6p6....@yun.yagibdah.de