> | actually, it has to do with distinguishing * from '*' and *.* from *.'*' > > Emacs has a regexp-quote function, which returns a regexp that exactly > matches the given string. Then, something like > (glob (concat "*" (regexp-quote ".*"))) > does the job. and es internally has something similar. as do all other shells, etc. the question becomes, how do you pass that to an external program?