News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by ykonstant on Tuesday October 29, 2024 @09:22AM (#41983602)
A correct script will have no problems with "-rf" or any other file name. I have (and recommend script writers make their own) a directory hierarchy of "dangerous" file names to test scripts.

For example, it contains a directory where all file and subdirectory names are in unary, consisting only of repetitions of the newline character. A correct script should be able to enumerate, access and modify files in there without issue.

There are no comments on this comment yet.