The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-28-2008
smr_rashmy smr_rashmy is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 39
Need help in awk

Hi Frnds,

I have a text file confdate.txt with the following format.

From_Date 12-02-2007
To_Date 12-03-2007

Now i have two variables say new_todate,new_fromdate in my shell script which contains two new dates,and i want to update the dates in the flat file corresponding to the column using awk.

Can you please give me some inputs on this?

Thanks in Advance.
- Raja.