R.L. Dane 🍵@rl_dane@polymaths.social
· Föderation EN Fr 11.04.2025 22:10:01
@khm
Wouldn't that require a for loop to load the array, though?
for
Or is there an easy way to do something like
typeset -a files=*
(that would actually read it into an array, rather than schlorping it all into ${files[0]})?
${files[0]}
0x 1 0x
khm@khm@hj.9fs.net
Föderation · Fr 11.04.2025 22:55:32
files=(*-*.[pP][dD][fF]) should load the arrayglob's gonna glob
files=(*-*.[pP][dD][fF])
0x 0 0x