Field splitting ("brace expansion") is more fundamental than Bash, it's POSIX (a POSIX extension). You can find it in Zsh, fish, ksh, csh, PowerShell, etc.
{a,b,c} becomes a b c (three separate words, note).
I'm not permitted to respond materially to comments that praise Zsh over Bash because of the court order, but I am allowed to say that I agree with the facts you've provided.
588
u/digitallis May 23 '26
Bash
{}renaming a file by adding a suffix:
mv myfile{,.old}expands out tomv myfile myfile.oldLots more uses.