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