portability of positional parameters after $9?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

POSIX says you can use ${10}, ${11}, ... in shell scripts to
refer to the 10th, 11th, ... positional parameters.  However for
years I've been convinced that the only safe way to access
positional parameters past $9 was to shift them first.  I can't
recall why.  I'm wondering whether this is a myth of mine, or if
there is a known portability issue with these.  Can anybody help
straighten my brain out?
-- 
Alexandre Duret-Lutz



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux