bondtrails
Technical User
Hey everyone,
newbie #1 still learning awk. I need some help: I have a file, each record contains data and a filename. I want my awk program to append each record to a file whose file name is on that records. For example, if file FILE_A.txt contains:
filename_1.txt data data data
filename_1.txt more data more data
filename_2.txt new data new data
filename_9.txt some other new data
then I want my awk program to write the data to the appropriate file.
Can some good soul help out a newbie??
thanks!!
--Bondster!
newbie #1 still learning awk. I need some help: I have a file, each record contains data and a filename. I want my awk program to append each record to a file whose file name is on that records. For example, if file FILE_A.txt contains:
filename_1.txt data data data
filename_1.txt more data more data
filename_2.txt new data new data
filename_9.txt some other new data
then I want my awk program to write the data to the appropriate file.
Can some good soul help out a newbie??
thanks!!
--Bondster!