Don't ask to ask, just ask | |
PerlMonks |
Re: How to concatenate the contents of two files?by davido (Cardinal) |
on Sep 03, 2004 at 02:38 UTC ( [id://388193]=note: print w/replies, xml ) | Need Help?? |
Here is a strictly-Perl one-liner solution that works quite nicely. First, the unix/linux version:
And now the Windows version:
The only difference is which quotes are used where, since Win32/DOS doesn't like single quotes much. This works as follows:
Hope this helps! Dave
In Section
Seekers of Perl Wisdom
|
|