Search Results

Search: Posts Made By: OTNA
1,543
Posted By OTNA
Thanks "MAN" again
Thanks "MAN" again
1,543
Posted By OTNA
Hi Rudic , really i tried to do it like before...
Hi Rudic , really i tried to do it like before but i dont know how to use match to get not matching values as one Condition ( when match 3100.2.22.4 and not match 3100.2.30.33 in the same line ) , i...
1,543
Posted By OTNA
really i have alot of those files every seconds ,...
really i have alot of those files every seconds , i'm looking for maybe awk command to solve this quickly without genrating alot of temp files ,
1,543
Posted By OTNA
How to Split File to 2 depending on condition?
Hi ,


cat myfile.txt


! 3100.2.0.5 ! 3100.2.22.4 ! 3100.2.30.33 ! 3100.2.4.1 !
! 3100.2.0.5 ! 3100.2.22.4 ! 3100.2.22.11 ! 3100.2.4.1 !
! 3100.2.0.5 ! 3100.2.2.50 ! 3100.2.22.11 !...
7,764
Posted By OTNA
Wow , thank you can you please explain how...
Wow , thank you
can you please explain how this script doing this magic
7,764
Posted By OTNA
How to Split File based on String?
hi ,


The scenario is like this,

i have a large text files (max 5MB , about 5000 file per day ),
Inside almost each line of this file there is a tag 3100.2.22.1 (represent Call_Type) , i...
6,113
Posted By OTNA
awesome ,
awesome ,
6,113
Posted By OTNA
Replacing string by incrementing number
Dear all
Say I have a file as



! TICKET NBR : 234 !GSI : 102 ! 3100.2.112.1 11/06/2013 15:56:29 ! 3100.2.22.3 98 ! 3100.2.134.2 8 !
! TICKET NBR : 1809 ! GSI : 102 ! 3100.2.112.1...
4,901
Posted By OTNA
the script is working fine , i just want to get...
the script is working fine , i just want to get one by one , for example get the first one and do some editing then get the second one and so on
how to put this in a loop
4,901
Posted By OTNA
Hi , its working fine but sorry im newbe...
Hi ,

its working fine but sorry im newbe in AWK , please how to make it read from count ,
i'm already have acounter lets say


nbrTickets =100
while [ $count -le $nbrTickets ]
do
awk...
4,901
Posted By OTNA
please give any thing except this , already tried...
please give any thing except this , already tried this and i dont know why i got this error , there is nothing related to connection i'm already working on the same server , its working fine many...
4,901
Posted By OTNA
Grab nth occurence in between two patterns using awk or sed
Hi ,






I have an issue where I want to parse through the output from a file and I want to grab the nth occurrence of text in between two patterns preferably using awk or sed


...
6,937
Posted By OTNA
i'm working on the same server there is no...
i'm working on the same server there is no network connection with others

---------- Post updated at 08:16 AM ---------- Previous update was at 08:12 AM ----------



Hi ,

really this is...
6,937
Posted By OTNA
Hi , yes exactly i'm working throw ssh on...
Hi ,

yes exactly i'm working throw ssh on a remote server , i've changed the output to be on the same Script location but stills same error , by the way i'm loged on the server throw ssh and run...
6,937
Posted By OTNA
Grep: writing output: Connection reset by peer
Hi ,

when i run ,

tkt=/u01/ctrlfile/tkt.tmp
grep "TICKET NBR" $cdrFile | head -$count | tail -1 > $tkt

i got error
grep: writing output: Connection reset by peer

but some time...
1,305
Posted By OTNA
udiC thanks , but this will distinct every thing...
udiC thanks , but this will distinct every thing even if there any duplicated tag except 3100.2.128.8 , i want to distinct only this tag 3100.2.128.8 , if any other duplicated do not do anything ,...
1,305
Posted By OTNA
How to find DISTINCT rows and combine in one row?
Hi ,


i need to display only one of duplicated values and merged them in one record only when tag started with 3100.2.128.8


3100.2.97.1=192.168.0.12
3100.2.128.8=418/66/03e9/0044801...
1,230
Posted By OTNA
How to Rename when duplicate found?
Hi ,

i need to check the file , if 2 duplicated Values then rename the second duplicated value and save it on the same file, if 3 duplicated Values then rename the Second and Thired and save it...
987
Posted By OTNA
Thanks pravin27 , its working
Thanks pravin27 ,

its working
987
Posted By OTNA
How To Remove Duplicate Based on the Value?
Hi ,

Some time i got duplicated value in my files ,

bundle_identifier= B
Sometext=ABC
bundle_identifier= A
bundle_unit=500
Sometext123=ABCD
bundle_unit=400

i need to check if there is...
Showing results 1 to 20 of 20

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