Search Results

Search: Posts Made By: shanneykar
1,992
Posted By shanneykar
Need ASAP an awk command
Input1 : "06:28:45 28.08.2010|SCHEDULE: Started program POSG1[(0600 08/27/10),(0AAAAAAAAAAAOG66)].PLK110 (#J2325) has completed successfully"

or

Input2 : "06:28:45 28.08.2010|SCHEDULE:...
15,036
Posted By shanneykar
It's Working... but need to research ur command...
It's Working... but need to research ur command dude. ;) Thanks a bunch.

---------- Post updated at 04:16 PM ---------- Previous update was at 04:02 PM ----------

Sorry , I edited th eline to...
15,036
Posted By shanneykar
Thanks All. These info are in a file. I need one...
Thanks All. These info are in a file. I need one more help.

Input : "07:08:43 28.08.2010|SCHEDULE: Started program POSG1[(0600 08/28/10)] has completed successfully"

Needed output : "07:08:43...
15,036
Posted By shanneykar
Need Awk command to get part of string based on delimeter
HI,

Need awk command to get date and time alone from

Input : "15:29:15 28.08.2010|SCHEDULE: Started program POSG1"

Output expected : "15:29:15 28.08.2010"

Please help.
2,678
Posted By shanneykar
Thanks alister> u rock. I read man page, but the...
Thanks alister> u rock. I read man page, but the one in my system doesn't seem to be very informative . it doesn't even have an entry for %s :P

---------- Post updated at 06:26 PM ----------...
2,678
Posted By shanneykar
yep but the variable is in loop and so at...
yep but the variable is in loop and so at different instance contain diff sized values.
For example
p=pop
p=poplopopl(next sequence in loop)

so if add tab or spaces it remains same.

Wat i...
2,678
Posted By shanneykar
Corona, I need assistance on another issue...
Corona,

I need assistance on another issue too.
I want a variable to be left indented with fixed size.

With "typeset -Z100 temp" am able to get fixed size variable, but it is rigt indented....
2,678
Posted By shanneykar
Cool.. Wat %s mean? and will it be issue to use...
Cool.. Wat %s mean? and will it be issue to use printf in ksh?
2,678
Posted By shanneykar
Thanks corona. It works, but still echo --...
Thanks corona. It works, but still

echo -- $str ==> -- -e

Is it posible to give just teh stored value "-e" or so we need to cut and get the variable.?

---------- Post updated at 04:47 PM...
2,678
Posted By shanneykar
Unable to store "-e" in variable ??????
p="-e"
echo $p

It is not returning the value "-e" stored. Instead returns null.

I am wondering how could this happen. Please help me out.I tried all possibilities like p='-e' | p="\-e"....
Showing results 1 to 10 of 10

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