Search Results

Search: Posts Made By: ManoharMa
2,315
Posted By jim mcnamara
What drysdalk is describing as a firewall...
What drysdalk is describing as a firewall function is usually called a NAT - network address translator.
2,315
Posted By Corona688
Perhaps if you explained the problem you are...
Perhaps if you explained the problem you are trying to solve with ssh tunneling we can give a better answer.

And no, don't say "open port 777". Tell us what you are trying to accomplish by moving...
1,544
Posted By RudiC
What in the result of the proposal in post#3 are...
What in the result of the proposal in post#3 are you unhappy with?
awk '{C = NF; while ($C ~ /^DB-/) print $1, $(C--)}' file
35818 DB-3754
44412 DB-3747
1,544
Posted By RavinderSingh13
Hello ManoharMa, kindly use code tags as per...
Hello ManoharMa,

kindly use code tags as per forum rules for your commands/codes/Input_file into your posts.
Could you please try following and let me know if this helps.

awk...
1,544
Posted By RudiC
How about awk '{C = NF; while ($C ~ /^DB-/)...
How about
awk '{C = NF; while ($C ~ /^DB-/) print $1, $(C--)}' file
35818 DB-3754
44412 DB-3747
54432 DB-3725
55522 DB-3730
55522 DB-3728
55522 DB-3677
55522 DB-3750
55522 DB-3688
55522...
2,749
Posted By elixir_sinari
I am sorry for not seeing the value. I thought it...
I am sorry for not seeing the value. I thought it was just another part of the line..:o

Anyway, this should work:


awk -F\( 'BEGIN{OFS=FS} {split($1,a," ");sub(/.*/,"INSERT INTO...
1,164
Posted By balajesuri
[root@hostname test]# perl -pe 's/\(ps:.*?\) //g'...
[root@hostname test]# perl -pe 's/\(ps:.*?\) //g' input
We all (need some) help some day and I need to save some hay now.
During the rainy season Seattle gets drenched but not (all of pacific)...
1,164
Posted By agama
It's a bit tricky because what seems a logical...
It's a bit tricky because what seems a logical approach, /(ps:.*)/ , assumes a non-greedy match. Regex, however, is a greedy match and that expression will match up through the last close paren on...
Showing results 1 to 8 of 8

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