From d568f3a37ed81d6cb1dd27db65d199d7d51ab676 Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Sun, 1 Dec 2013 08:16:04 -0800 Subject: [PATCH] Add citation (for more info) --- Sc2035.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)".