![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to merge these two files? | fedora | Shell Programming and Scripting | 3 | 02-12-2008 06:45 PM |
| merge files | koti_rama | Shell Programming and Scripting | 5 | 12-24-2007 10:59 PM |
| use of sed over cat to merge files | miwinter | UNIX for Advanced & Expert Users | 2 | 11-28-2007 01:36 PM |
| How to merge files | lestat_ecuador | Shell Programming and Scripting | 3 | 06-07-2007 06:45 AM |
| Using NAWK to merge two files | madhunk | Shell Programming and Scripting | 7 | 06-07-2006 10:27 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
help in merge files
I have created these files in a particular directory
a_1.txt a_2.txt ... .. a_n.txt Each file has a single line. I want to write a output file a.txt, which will have concantated value of string from all the files. which utility should i use. copy, cat or paste???? Can anyone help me for this shell script for this. thanks a ton in advance. reagrds vin |
|
||||
|
i have file like :
file_1.txt file_2.txt file_3.txt ... ... file_n.txt and each file have one string (similar nature) File_1.txt 111 file_2.txt 222 file_3.txt 333 .... file_n.txt nnn following the above example I want a output file as file.txt and string inthe file should be 11122233334444....nnn How to do this through script...ie first checking into folder ie how many files subfile exist and then merge a master file out of child file. thanks a ton in advance anand |