Tuesday, December 21, 2010

bash command line

#!/bin/bash
echo "$*"
echo "$@"
echo "$_"
echo "$#"

./test a b c
a b c
a b c
c
3

No comments: