isabella 1737339846 learn add @() around your non globs to turn them into globs: shopt -s nullglob; pattern=/my/pattern/that/may/not/have/globs; ls @($pattern) # (also, do not call this globbification)