1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | $ (cat - input1 - input2 - input3 - input4) | mailx ted Ted, Take a look at these example files. This is the first file ... Ctrl-D This is the second file ... Ctrl-D This is the third file -- note the fourth paragraph below ... Ctrl-D And here's the last file ... Ctrl-D $ |
1 2 3 4 5 | $ cat >> file > line > line > line<br>Ctrl-D $ |
1 | $ cat footnotes.txt >> file |
1 | $ echo "192.255.255.255 bigblue" >> /etc/hosts |
1 2 3 4 5 6 7 8 | $ cat -nb > fileThis line is numberedAnd so is thisAnother numbered lineCtrl-D $ cat file 1 This line is numbered 2 And so is this 3 Another numbered line $ |
1 2 3 4 5 6 | $ cat - file > newfile This is the beginning of the file And then the old file is inserted Below this line: $ |
1 2 3 4 5 | $ cat -vet input.txt This line has trailing blanks. $ This line does not.$ $ |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |