I want to run a for loop, is there a way to do a nullglob in the korn shell like in other shells?
for file in docs*.txt; do
I want to run a for loop, is there a way to do a nullglob in the korn shell like in other shells?
for file in docs*.txt; do
~(N). – Kusalananda May 08 '20 at 13:43kshis mentioned without any other qualifier, I'm assumingksh93. – Kusalananda May 08 '20 at 13:44kshthat is in use, and whether~(N)docs*.txtworks as you want it to or not. Unfortunately there are a number of variouskshshells (ksh88,ksh93,pdkshandmksh), and they work slightly differently compared to each other. – Kusalananda May 08 '20 at 14:48