"for file in" numerically instead of alphabetically? – unix.stackexchange.com

I have a script generating an index based on each file in a folder. All file names are a number with extension. How can I modify my loop to process them in numeric order? for file in xml/*.xml; do ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to ""for file in" numerically instead of alphabetically? – unix.stackexchange.com"