Skip to content

Instantly share code, notes, and snippets.

@jybaek
Created December 2, 2015 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jybaek/48515a69f998301acd54 to your computer and use it in GitHub Desktop.
Save jybaek/48515a69f998301acd54 to your computer and use it in GitHub Desktop.
$@와 $*의 차이 예제코드
#!/bin/sh
echo "================="
echo "\$@ section"
echo "================="
for param in "$@"
do
echo $param,
done
echo "================="
echo "\$* section"
echo "================="
for param in "$*"
do
echo $param,
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment