Reply to post: Is this really something new?

Oh SNAP! Old-school '80s Unix hack to smack OSX, iOS, Red Hat?

Yet Another Random Guy

Is this really something new?

The man-page for GNU rm states the following:

"

To remove a file whose name starts with a '-', for example '-foo', use one of these commands:

rm -- -foo

rm ./-foo

"

As far as I know all GNU utilities support the "--" construction. So I don't think that this is something new, nor should it have any impact. Anyone in their right mind would be using "--" in scripts... hopefully

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon