Day: February 1, 2012

  • Stupid Bash Expansion Trick

    I got asked a question regarding filename expansion in bash the other day, and was stumped. It turns out to be something I should have considered a long time ago, and will always keep in mind when writing a script. Question 1: What does the following script do if there is a file abc in…