Hi,
i have files which contains list of csv file names
say temp.txt contains below like data
Dns_bangalore_08172011.093033.1139.csv
Dns_bangalore_08172011.093133.1139.csv
now i want to insert some string before .csv in the filename
say i want to insert string _sim1 beofre .csv as looks like below
Dns_bangalore_08172011.093033.1139_sim1.csv
Dns_bangalore_08172011.093133.1139_sim1.csv
any help with awk ??
Thanks,
Raghav