Select Page

Brace expansion doesn't work in a Bash script

Yes if you invoke Bash como “sh”, will behave as much as possible like the original sh, disabling, among other things, the expansion of keys (braces). That's why for saving me two keystrokes in the shebang (#!/bin/sh), I ended up giving many more until...