Search Results

Search: Posts Made By: indrajit_u
2,841
Posted By Scott
$ cat file1 ,TotUnasgndNetAmt FROM...
$ cat file1
,TotUnasgndNetAmt
FROM DEV_EIS_T.Wkly_SO_CCD_MOSumSnpsht
WHERE
CalDayRunDt = '2010-07-21'
UNION ALL
SELECT
CalDayRunDt
,BusWkCd
,'N'


$ curdate=something
$ sed...
2,841
Posted By bartus11
Try: awk -vx=$curr_date...
Try: awk -vx=$curr_date '{sub("....-..-..",x,$0)}1' file
5,915
Posted By bartus11
Sorry, there were some unneeded characters in the...
Sorry, there were some unneeded characters in the last command. Try now: awk '/DEV_EIS_T/{printf "\n"$0;next}{printf $0}' file
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy