- 论坛徽章:
- 0
|
copy file into another file problem
原帖由 "fatfish" 发表:
i have files:
1.txt, 2.txt
1.txt
~~~~~~~~~~~~~~~~~~
hi
~~~~~~~~~~~~~~~~~`
2.txt
~~~~~~~~~~~~~~~~``
my friend
~~~~~~~~~~~~~~~
how to do the shell command to achieve
1.txt
~~~~~~~~~~~~~~..........
i'm very confused with your notation and statement. how many lines in 1.txt or 2.txt? should they just be concatenated or shold be done in certain order? are the wave lines "~~~~~" parts of the text? if not,
# cat 1.txt 2.txt > 3.txt
maybe solve your problem.
|
|