January 26th, 2011, 01:07 PM #1
- Join Date
- Jan 2011
Modification to be done in file in UNIX
I am new to UNIX and need some help in accomplishing the below requirement:
1) I have a file (file1), with 3 parts as Header, data and Footer.
2) Now, I need to create another file (file2) with the same header and footer of file1, but need to modify the data in
between the header and footer of file1 and put it into file 2 between header and footer.
3) For example: i have US and CA, which should be replaced by CD in the data between header and footer in file2.
Please let me know how can go for it. Any help is surely appreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Bongohuzz in forum PC ModificationReplies: 20Last Post: November 11th, 2007, 06:14 AM
By gberz3 in forum Linux and UnixReplies: 14Last Post: November 4th, 2005, 12:35 PM
By cmptrgydv in forum MotherboardsReplies: 3Last Post: July 30th, 2005, 07:26 PM
By NeoStarO1 in forum Applications and Operating SystemsReplies: 5Last Post: July 16th, 2002, 01:56 PM
By NeoStarO1 in forum Applications and Operating SystemsReplies: 2Last Post: February 19th, 2002, 01:00 AM