diff --git a/Sc2035.md b/Sc2035.md index cb23717..d3d2fac 100644 --- a/Sc2035.md +++ b/Sc2035.md @@ -12,4 +12,6 @@ Since files and arguments are strings passed the same way, programs can't proper A file named `-f` (`touch -- -f`) will not be deleted by the problematic code. It will instead be interpreted as a command line option, and `rm` will even report success. -Using `./*` will instead cause the glob to be expanded into `./-f`, which no program will treat as an option. \ No newline at end of file +Using `./*` will instead cause the glob to be expanded into `./-f`, which no program will treat as an option. + +For more information, see "[Filenames and Pathnames in Shell: How to do it Correctly](http://www.dwheeler.com/essays/filenames-in-shell.html)".