Hi all I don't have idea how to write this script, please help I have thousand records in this format. eg: file No.3 is File No: 003 Customer: Ann Email address: xxx@info Country: England Created by: 20071102 file No. 4 is: File No: 004 Customer: James Email address: xxx@gov Country: Australia Created by: 20071105 I need to write a script to replace those Fields eg: (Customer/Email/Country.... when matching the FileNo.001...002...) to get Data in this file and also put the date in "Created by: 20071105" when I run this script File NO Customer Email Address Country -------------------------------------------------------- 001 John xxx@net USA 002 Peter xxx@com Canada 003 David xxx@org Mexico I know awk can do it. but don't know how to match the File No. in original file and the data file Thank you for your help ____________________________________________________________________________________ Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos