![]() |
|
|
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 |
| Combine a datafile with Master datafile, emergent! | onthetopo | Shell Programming and Scripting | 6 | 05-12-2007 07:36 AM |
| Append filename to datafile | Satyagiri | UNIX for Dummies Questions & Answers | 3 | 10-12-2006 10:19 AM |
| selective positions from a datafile | ganapati | Shell Programming and Scripting | 10 | 09-19-2006 10:09 AM |
| oracle datafile *dbf | tt155 | SUN Solaris | 3 | 12-17-2005 07:38 PM |
| New Section | kapilv | Post Here to Contact Site Administrators and Moderators | 3 | 10-31-2001 09:57 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi:
First, this is not a homework problem. I just need enough of a hint to get this going... My datafile (dataf.in) is made up of 10 sections. Each section begins with & and with && So it looks like this:------------------------------------- §ion1 ...etc... && §ion2 ...etc... && ------------------ I need to replace section2 with a new section that I call "section_new" contained in file (dataf.new). So now, dataf.in looks like this now: §ion1 ...etc... && §ion_new ...etc... && I am trying to do that with no luck with a shell script or awk. Is that feasible? or should I be coding it in C? Any suggestion or feedback is appreciated. Best, Paprika ![]() Last edited by Paprika; 06-14-2005 at 10:54 AM.. Reason: want to include additional comment. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|