shell script 和 c++程式 - Linux
By Vanessa
at 2013-06-27T22:04
at 2013-06-27T22:04
Table of Contents
: mongqiu@server~>./test.x input.txt
: f n1 n2 n3
: n1 1 2 3
: n2 1 2 3
: n3 1 2 3
: mongqiu@server~>
(1)
echo -e 'f n1 n2 n3\nn1 1 2 3\nn2 1 2 3\nn3 1 2 3' > ./test.x
echo 包含特殊字元
(2)
推文說到的也是一個不錯的方法
./test.x << XXX
f n1 n2 n3
n1 1 2 3
n2 1 2 3
n3 1 2 3
XXX
XXX 只要打相同的東西就好
--
Time waits for no one.
↑
(。A。)ハァ
--
: f n1 n2 n3
: n1 1 2 3
: n2 1 2 3
: n3 1 2 3
: mongqiu@server~>
(1)
echo -e 'f n1 n2 n3\nn1 1 2 3\nn2 1 2 3\nn3 1 2 3' > ./test.x
echo 包含特殊字元
(2)
推文說到的也是一個不錯的方法
./test.x << XXX
f n1 n2 n3
n1 1 2 3
n2 1 2 3
n3 1 2 3
XXX
XXX 只要打相同的東西就好
--
Time waits for no one.
↑
(。A。)ハァ
--
Tags:
Linux
All Comments
Related Posts
shell script 和 c++程式
By Damian
at 2013-06-27T20:00
at 2013-06-27T20:00
gentoo install rpm
By Gary
at 2013-06-27T16:42
at 2013-06-27T16:42
Linux的ubuntu版本確認
By Vanessa
at 2013-06-27T00:29
at 2013-06-27T00:29
visio的替代軟體,要可以輸出eps
By Jack
at 2013-06-26T23:49
at 2013-06-26T23:49
cut文句,結尾有隱藏的垃圾?
By Callum
at 2013-06-26T21:26
at 2013-06-26T21:26