Can variable-substitution-syntaxes be unified?

Clash Royale CLAN TAG#URR8PPP
up vote
-2
down vote
favorite
Can these two variable-substitution-syntaxes combined into one?
rm "$s_a/$domain.conf" 2>/dev/null
rm "$s_e/$domain.conf" 2>/dev/null
like:
rm "$s_a,e/$domain.conf" 2>/dev/null
bash variable-substitution brace-expansion
add a comment |Â
up vote
-2
down vote
favorite
Can these two variable-substitution-syntaxes combined into one?
rm "$s_a/$domain.conf" 2>/dev/null
rm "$s_e/$domain.conf" 2>/dev/null
like:
rm "$s_a,e/$domain.conf" 2>/dev/null
bash variable-substitution brace-expansion
add a comment |Â
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
Can these two variable-substitution-syntaxes combined into one?
rm "$s_a/$domain.conf" 2>/dev/null
rm "$s_e/$domain.conf" 2>/dev/null
like:
rm "$s_a,e/$domain.conf" 2>/dev/null
bash variable-substitution brace-expansion
Can these two variable-substitution-syntaxes combined into one?
rm "$s_a/$domain.conf" 2>/dev/null
rm "$s_e/$domain.conf" 2>/dev/null
like:
rm "$s_a,e/$domain.conf" 2>/dev/null
bash variable-substitution brace-expansion
bash variable-substitution brace-expansion
edited 8 mins ago
Jeff Schaller
35.1k952115
35.1k952115
asked 10 mins ago
JohnDoea
89731
89731
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
 
draft saved
draft discarded
 
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480218%2fcan-variable-substitution-syntaxes-be-unified%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password