Search Results

Search: Posts Made By: britney
3,259
Posted By britney
Thanks, i never use Ruby before :-)
Thanks, i never use Ruby before :-)
3,259
Posted By britney
Thanks all. I create another host.log ...
Thanks all.
I create another host.log
sanfrancisco|
oakland|

Then paste host.log current.log > newlog.txt
I will try your way.
But now how do i get a newlog.txt or current.log like
...
3,259
Posted By britney
how to add extra a field in a flat txt file ?
Hi all,

I did not use UNIX for a long time, now i need to make a flat file with extra field, can you help me with the code ?
1. I create a last line of each log from each system and make it in a...
1,779
Posted By britney
system () howto ??
How do you write a command to :

A text line to a file in ./DATA1/archive.log using system () in awk
TodayDate Time scriptname.ksh filename.dat

system(echo `date '+%D %T` scriptname.ksh >>...
2,693
Posted By britney
wow .. thanks alot, I need to study more and read...
wow .. thanks alot, I need to study more and read more to understand .
Thanks again
2,693
Posted By britney
Sorry, newbir writing code :) vgersh99, your...
Sorry, newbir writing code :)
vgersh99, your code work great but it show array

for ( i in arr )
print arr[i], cnt[i]

That's mean all field then comma count
what if I need to rearrange...
2,693
Posted By britney
vgersh99, your code is working but can you show...
vgersh99, your code is working but can you show me why mine did not work ?
I aslo add if diff < 600 then get the record, because I dont want to see any diff greater than 600 in there. Would you...
2,693
Posted By britney
The code you have gave me this answer ...
The code you have gave me this answer

4159061234|10:00|10:01|a1|a2|60|4
4159061234|10:00|10:06|b1|b2|360|4
4159061234|10:05|10:06|c1|c2|60|4
4159061234|10:12|10:15|d1|d2|180|4...
2,693
Posted By britney
I tried but my count is incorrect, how do you...
I tried but my count is incorrect, how do you count it ? please help. Thanks
2,693
Posted By britney
Count help - newbie
I have a flat file sort by Phonenumber and Bigin call fileA.txt
Phonnumber|Begin|Endca|D1|D2|Diff
4159061234|10:00|10:01|a1|a2|60
4159061234|10:00|10:06|b1|b2|360
4159061234|10:05|10:06|c1|c2|60...
4,707
Posted By britney
Newbie convert date ksh
If I have
start = 02282006;
end = 03152006;

How do I get
startdate = 02/28/2006;
enddate = 03/15/2006;

Thanks,
Showing results 1 to 11 of 11

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