On Dez 04 2022, th3_d0ctor wrote: > $ echo "*" >b; for i in `cat b`; do echo "$i"; done > ==> list current working directory instead of printing the wildcard '*'
That's how it is supposed to work, since file name expansion is performed after all other expansions (just before quote removal). This is basic shell operation knowledge that everyone using the shell should remember. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."