![]() |
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 |
| Two Login's - Remember only one. | Cameron | Forum Support Area for Unregistered Users & Account Problems | 2 | 09-27-2007 09:04 PM |
| scripts remember the previous parameter??? | KenL | UNIX for Dummies Questions & Answers | 3 | 11-15-2006 08:50 AM |
| remember last visited line in vim | spopuri | UNIX for Dummies Questions & Answers | 2 | 05-24-2006 12:27 PM |
| It's been awhile...help me remember | catbad | Shell Programming and Scripting | 2 | 07-15-2002 03:48 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I am trying to run awk on a 55 page Word document.
I wanted to delete every occurrence of <company>, <script>, </scripts> from the file then cut & paste all of the appropriate fields to an Excel spreadsheet. Also the code is suppose to replace the dates in a new format such as "xxxx-xx-xx" Is there someone out there who can help? I tried saving my code in a .exe file on Linux, as follows: awk -F, Test1 BEGIN { date1[i]= " " temp[i]= " " date2[i]= " " i = 0 for(i = 1; i <= NF; i = i + 1) { wk -F, Test1 BEGIN { date1[i]= " " temp[i]= " " date2[i]= " " i = 0 for(i = 1; i <= NF; i = i + 1) { date1[i]= "20040811" date2[i]="xxxx-xx-xx" next } END |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|