Ted's Blog

Happy coding

$@与$*的区别

Ted posted @ 2008年8月04日 22:18 in 未分类 with tags shell , 1892 阅读

$cat test.sh
  for   i   in   "$@";   do   echo   $i;done 
  for   i   in   "$*";   do   echo   $i;done  

$./test.sh   “abc   efg”   hij 

输出:

abc efg
hij
abc efg hij
 

可看出$*是对整个参数表的引用

 

Avatar_small
free games pinochle 说:
2018年11月17日 20:42

Visit here our site and have the full joinery to play this pinochle game just click here create the best score here most people have the play this online

Avatar_small
Jacob Andrews 说:
2020年4月03日 16:01

The essence of the social art is played for the tips of the field. The  articulation of the turns and professional essay writers is viewed for the turns.  Part is played for the dynamics for the hidden elements. Story is told for the mode of the prone items for humans.

Avatar_small
runescape gold 说:
2020年9月26日 19:25

It's late finding this act. At least, it's a thing to be familiar with that there are such events exist. I agree with your Blog and I will be back to inspect it more in the future so please keep up your act.

Avatar_small
free followers on In 说:
2020年9月29日 20:31

It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!

Avatar_small
Chứng Nhận ISO 9001 说:
2020年9月30日 18:15

Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.

Avatar_small
Arianna 说:
2020年11月30日 21:04

Really impressed! Everything is very open and very clear clarification of issues. It contains truly facts. Your website is very valuable. Thanks for sharing.  resthof mieten emsland

Avatar_small
Arianna 说:
2020年12月02日 02:57

I would also motivate just about every person to save this web page for any favorite assistance to assist posted the appearance. smm reseller panel

Avatar_small
Arianna 说:
2020年12月02日 19:50

Very nice blog and articles. I am realy very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.  Kuiz Online

Avatar_small
Arianna 说:
2020年12月03日 23:06

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles.  KMS Activator download

Avatar_small
Arianna 说:
2020年12月05日 23:22

Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. Haus kaufen haren

Avatar_small
Arianna 说:
2020年12月08日 18:58

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please?  smm panel 

Avatar_small
Arianna 说:
2020年12月13日 22:56

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.  Sbobet

Avatar_small
Arianna 说:
2020年12月14日 22:01

I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.  Mini Storage

Avatar_small
Arianna 说:
2020年12月16日 20:15

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles.  Como ligar

Avatar_small
sophie 说:
2020年12月17日 23:59

I have been searching to find a comfort or effective procedure to complete this process and I think this is the most suitable way to do it effectively.  the tune catcher

Avatar_small
sophie 说:
2020年12月19日 16:15

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work  NB Relationship Counselling

Avatar_small
sophie 说:
2020年12月20日 19:09

This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses.  Large Canvas Wall Art

Avatar_small
sophie 说:
2020年12月30日 03:24

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please?  Best cheater catching apps 2020

Avatar_small
UMAIR 说:
2021年2月23日 15:38

Hoping to gather information about how to copy and paste an electronic how to copy and paste an electronic signature to a pdf in signnowI am loking for such information for quite a while. I am sure I will find such information here just on time.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter