here strings,here documents and here files

< 文件                            #here files
<< 多行字串                   #here documents
<<< 单行字串                 #here strings
大约可以先这么理解

尤其是在一下情况使用:

while read A ; do ……done<<<"here strings" 以及

cut -d " " -f 2 <<< "3 4 5"

参考链接 http://www.tldp.org/LDP/abs/html/x17837.html

posted @ 2014-12-16 22:59  调皮的猫  阅读(173)  评论(0)    收藏  举报