Chinaunix首页 | 论坛 | 博客
  • 博客访问: 136507
  • 博文数量: 42
  • 博客积分: 2521
  • 博客等级: 少校
  • 技术积分: 440
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-31 21:29
文章分类

全部博文(42)

文章存档

2011年(1)

2010年(33)

2009年(8)

我的朋友

分类:

2010-09-19 09:42:47

More about Quotes

There are three types of quotes

Quotes
Name
Meaning
"Double Quotes"Double Quotes" - Anything enclose in double quotes removed meaning of that characters (except \ and $).
'Single quotes'Single quotes' - Enclosed in single quotes remains unchanged.
`Back quote
`Back quote` - To execute command

Example:
$ echo "Today is date" 
Can't print message with today's date.
$ echo "Today is `date`". 
It will print today's date as, Today is Tue Jan ....,Can you see that the `date` statement uses back quote?

阅读(711) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-21 07:57:24

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com