[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
portability of positional parameters after $9?
From: |
Alexandre Duret-Lutz |
Subject: |
portability of positional parameters after $9? |
Date: |
Wed, 19 Oct 2005 22:56:12 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
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
- portability of positional parameters after $9?,
Alexandre Duret-Lutz <=