passing bash variable to perl command in bash script
Recently I tried passing a bash variable to perl command in bash script, it didn’t end well. Troy Engel from was nice enough to point out the issue: use sed instead of perl for what you need; it’s simpler, faster…