NewbeeUnix wrote:
On Sep 18, 11:49 am, [EMAIL PROTECTED] (Back9) wrote:
Is there a way to append a text file to an existing text file.
For example,
File A:
Jan Feb Mar April ...
File B:
10 30 40 20 ...
After appending job, the File A would be like below.
Jan Feb Mar April ...
10 30 40 20 ...
execute the following command
(cat A.txt B.txt > /tmp/out.txt ; cp /tmp/out.txt A.txt; rm /tmp/
out.txt)
Why not just:
cat B.txt >> A.txt
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/