QUICK TIP
$ dump_array FILES
dump_array shows:
EVALUATE ARRAYS
... --mime-filter='RAW | image/x-olympus-orf image/tiff application/octet-stream'
$ PRTFILE="$(yad --file)”
PRINTING FILES EXAMPLE
YAD
If parts of a command line are to be executed first in order to be able to use their output in the command line, then the construction $(first) is used. BASH replaces this construction with the standard output of the embedded command line.
{FILES[0]}: ‘/tmp/sp
$ eval FILES=($(yad --file --multiple --quoted-output --separator='\n'))
BASH supports two variants of command substitution: backtics ( `...` ) and the form used here $(...). The former is deprecated and should no longer be used; the latter shouldn’t be confused with calculations S((...)).