Jump to content

Brace expansion: Difference between revisions

m
added a related task.
m (added a related task.)
Line 2:
 
Brace expansion is a type of parameter expansion [[wp:Bash_%28Unix_shell%29#Brace_expansion|made popular by Unix shells]], where it allows users to specify multiple similar string parameters without having to type them all out. E.g. the parameter <code>enable_{audio,video}</code> would be interpreted as if both <code>enable_audio</code> and <code>enable_video</code> had been specified.
 
 
{{task heading}}
Line 226 ⟶ 227:
{{task heading|Test Cases}}
 
:::{| class="wikitable" style="white-space: nowrap;"
|-
! Input<br><small style="font-weight:normal">''(single string)''</small>
Line 267 ⟶ 268:
<hr style="clear:both; margin-bottom:1em;"/>
 
{{Template:Strings}}
;Related task:
 
 
:* &nbsp; [[Brace_expansion_using_ranges]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.