QIAN Weishuo thinks this is interesting: "$@" expands as "$1" "$2" "$3" and so on "$*" expands as "$1c$2c$3", where c is the first character of IFS "$@" is used more often than $*, since the former provides all arguments as a single string From How to do it... from Linux Shell Scripting Cookbook - Third Edition by Shantanu Tushar, Sarath Lakshman, Clif Flynt Publisher: Packt Publishing Released: May 2017 Note 加上双引号才能看出区别，"$*"是一个整体字符串，用$IFS的第一个字符join起来的。而 "$@"是个数组 Share this highlight http://www.safaribooksonline.com/a/linux-shell-scripting/14513853/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of Linux Shell Scripting Cookbook - Third Edition and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.