一个here document是以<如下面的这个例子:
#!/bin/sh
cat <hello
I am bigstone!
document
gwd
而这个脚本的输出如下:
hello
I am bigstone!
document[@more@]
#!/bin/sh
cat <hello
I am bigstone!
document
gwd
而这个脚本的输出如下:
hello
I am bigstone!
document[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12059843/viewspace-998359/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/12059843/viewspace-998359/