In unix shell or commands, we often use Double Quotes (") and Single Quotes ('), but we should understand when we must use Double Quotes or we must use Single Quotes, or we could choose either.

  • Single Quotes ('): Shell will send it to Unix Commands without doing any interpretation.
  • Double Quotes ("): Shell will send it to Unix Commands after doing interpretation on following characters
    • Doller Signs ($)
    • Back Quotes (`)
    • Backslashs (\)
  • Backslashs (\) is the same as Single Quotes (') to the next character followed this Backslash.

For understanding the points above, we must understand the 2 different things: Shell and Unix Commands.

We issue all Unix Commands within Unix Shell environment. Shell will interpret (or say process) strings and variables first before they are sent to Unix Commands. For example: echo, ls are Unix Commands, you will issue these commands in an Unix Shell, like Boune Shell, Kane Shell, etc.

Practice 

$ ls
file1 file2
$ echo file*
file1 file2
$ echo "file*"
file*
$ echo $HOME
/home/zhangy
$ echo "$HOME"
/home/zhangy
$ echo '$HOME'
$HOME

Continue to read to see a sample.

Refer to

/home/zhangdaw/> cat testsed 

inbasket=/ods/sap/in
filename=$(echo "${inbasket}" | sed 's/\//\\\//g')"\/ash"
echo $filename
echo "ashaaa" | sed -e "s/ash/${filename}/g"

/home/zhangdaw/> ./testsed

\/ods\/sap\/in\/ash
/ods/sap/in/ashaaa

评论 (38)

Once I feel satisfied with his hardened cock I mount him and we start having more sex.
http://www.xoops.org/modules/profile/userinfo.php?uid=74348 ">porn hub

Once I feel satisfied with his hardened cock I mount him and we start having more sex.
http://www.xoops.org/modules/profile/userinfo.php?uid=74348 ">porn hub

It's funny goodluck http://forums.jolt.co.uk/member.php?u=1779508 ">redtube eu 452304

It's funny goodluck http://forums.jolt.co.uk/member.php?u=1779508 ">redtube eu 452304

This site is crazy :) http://Xavieruss.vidiLife.com ">lesbian masturbation uwena

This site is crazy :) http://Xavieruss.vidiLife.com ">lesbian masturbation uwena

perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))

perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))

perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))

good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))

good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))

good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))

Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645

Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645

Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645

Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645

The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube

The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube

The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube

He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg

He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg

He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg

She sat up coughing.

She sat up coughing.

She sat up coughing.

She sat up coughing.

The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting

The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting

The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting

Post a comment

mail.png


相似文章|Related Entries

最近更新|Recent Entries

不定期更新|Handy Entries

分类栏目|Categories

按月归档|By Month

2008
11
10
07
05
04
03
02
01
2007
12
10
07
06
05
04
03
02
01
2006
12
11
10
09
08
07
06
05
04
03
02
01
2005
11
10
09
08
07
04
03
2004
12
11
10
09
08
07
06
05
04
03
02
01
2003
12
10
09
08
06
2002
09
08
04
03
02
2001
12
09
07
06
05

站内链接|Site Links

Powered by
Movable Type 3.34