Search Results

Search: Posts Made By: karthikengox
7,415
Posted By karthikengox
Solved and Thanks.
Hi, Thanks a lot for your help. It solved all my purpose. Thanks for your quick help.
7,415
Posted By karthikengox
Here is my sample data file.... B6SX9N8 ...
Here is my sample data file....

B6SX9N8 @@|SD@@|COMPANY NAME@@|HK @@|HKD@@|Dec 16 2011 10:02:50:693AM@@|TESTTST@@|Jan 15 2012 12:00:00:000AM@@|HK0000094810@@|IS@@| @@| @@|0@@|0...
7,415
Posted By karthikengox
Not working
I tried this option....but it is not converting any of the dates...I tried all the below combinations.....
if(match($0,/...[[:space:]]..?[[:space:]]..../))...
7,415
Posted By karthikengox
Works perfectly....
Thanks a lot. It works perfectly. But now my data is screwing me....

My data has the below patters....

Mon DD YYYY
Mon DD YYYY
Mon D YYYY
Mon D YYYY

So I am not able to predict the...
7,415
Posted By karthikengox
It is working...need to write the output in another file
Hi....Thanks....It is working fine now. Thanks a lot. I would like to write the output in another file instead of printing in the screen. Could you please help me for this too...
7,415
Posted By karthikengox
Code
This si how I changed. test is my file name.

/usr/xpg4/bin/awk 'BEGIN{
mon="JanFebMarAprMayJunJulAugSepOctNovDec"
}
{
...
7,415
Posted By karthikengox
Screen idle
Thanks for your reply again. I changed as per your instruction. /usr/xpg4/bin/awk. But the screen is idle and nothing seems to be running. Cursor stays in next line and no execution at all.
7,415
Posted By karthikengox
Error
Thanks for your quick reply. Yes. I am using Solaris 5.10. While I am using your code, the screen stays idle and does not look processing....When I change nawk ino awk then I am gettign below error. ...
7,415
Posted By karthikengox
Getting error
Hi, Thanks for your code. When I am executing your code I am getting the below error. I do not know why? Coudl you please help...I appreciate your help in this regard. I am not a expert in UNIX...
7,415
Posted By karthikengox
Date format change in UNIX .dat file
Hi,

I need help to convert the date format in .DAT file in unix.
I want to convert
10@@|SWIFT MT568 Extract@@|Apr 14 2014 5:47:52:563PM@@|Apr 14 2014 4:33:47:663PM@@||##|

into
...
Showing results 1 to 10 of 10

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