]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/argv
vim: Updates to epicscript syntax
[dotfiles.git] / bin / argv
1 #!/bin/sh
2 # Usage: argv <args>
3 # Dump arguments
4 set -e
5 count=0
6 for a in "$@"
7 do
8 count=$(( count + 1 ))
9 echo "$count: $a"
10 done