in reply to Re: Why is it good practice for a cli script to take switch args before file list?
in thread Why is it good practice for a cli script to take switch args before file list?

This kind of explains why some compilers and print-oriented utilities intermix switches and file names: they parse them sequentially, and files are only effected by switches that precede them.

emc

e(π√−1) = −1
  • Comment on Re^2: Why is it good practice for a cli script to take switch args before file list?