News for hackers. Stuff that matters.
Re:Why "ls *.c" is at least dumb, and possibly dangerous by rmaccloy on Thursday October 08, 2009 @09:53PM (#870436)
In this case, if you're not an expert with bash, a good rule of thumb would be to pipe your glob-expanded list of junk into perl -nle 'print' (or echo, or... etc) before running something destructive.

Every time. Until you're an expert.

There are no comments on this comment yet.