Brace expansion: Difference between revisions

Content added Content deleted
Line 1,662: Line 1,662:


=={{header|Julia}}==
=={{header|Julia}}==
{{trans|Python}} <lang>
{{trans|Python}} <lang> function getitem(s, depth=0)
function getitem(s, depth=0)
out = [""]
out = [""]
while s != ""
while s != ""
Line 1,714: Line 1,713:
println(ans)
println(ans)
end
end
end </lang> {{output}} <pre>
end
</lang> {{output}} <pre>
~/{Downloads,Pictures}/*.{jpg,gif,png}
~/{Downloads,Pictures}/*.{jpg,gif,png}
--------------------------------------------
--------------------------------------------