I want my Cshell script to process through my $argv list, but to cherry-pick through that list. For example:
@ i = 1
while ( $i <= $#argv )
if ($argv[$i] == "--ignore-externals") then
set svnargs = ( $svnargs $argv[$i] )
shift $argv[1]
else
@ i = $i + 1
endif
end
... but "shift" doesn't work like that. What's the best approach?