💻 Software
Brace expansion : run several commands instead of expanding on one line?
Fresh5 days ago
Mar 15, 20264006 viewsConfidence Score0%
0%
Problem
When you use brace expansion in bash, something like becomes Is there a way to expand it to 3 separate commands, one for each expansion, instead? So that: would become
Error Output
echo {a,b,c}Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Brace expansion : run several commands instead of expanding on one line?
Low Risk
Is this just a "because I wanna know" question, or is there a real use case for it? We could go through some gymnastics to get it done: But I'd hunt down anyone that was putting in these kinds of obfuscatory commands into our system scripts. Why not…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix