# $Id: pos,v 1.1 2012/07/06 00:02:02 ksb Exp $ $Compile: MK=-t/dev/null %b -a%C%I%N%V -mPos -l0 -1 one -7 VII --5 negFive %f # The common case is to have 1 or 2 positionals $Pos(1): [ _%{1} = _one ] $Pos(7): [ _%{07} = _VII ] # We actually accept negative positionals, but they are converted to large # unsigned numbers internally. $Pos(neg): [ _%{-5} = _negFive ] # This would fail if we had a positional 99, but we do not so we win. $Pos(none): exit 78 ; %{99} does not exist