Search Results

Search: Posts Made By: kajax
5,866
Posted By kajax
OK! Now it's clear. Thanks a lot!
OK!

Now it's clear.

Thanks a lot!
5,866
Posted By kajax
Sorry @Scrutinizer, I didn't get this:-( ...
Sorry @Scrutinizer,

I didn't get this:-(

What does mean "\1" ?

Where is $1 and in which way does it aid in matching...?
2,024
Posted By kajax
muchas gracias @birei/@scrutinizer! OK, I...
muchas gracias @birei/@scrutinizer!

OK, I see now what it means, even if it looks a bit strange to write [][] instead of [[]], being the inner brakes [] the two limitations of an included mached...
2,024
Posted By kajax
AWK: FS="[][]" ???
Hi,

I was surprised to see such a field separator:confused:

If it means the data between "[" and "]" I just would expect [] as FS.

Can someone explain me please, what that exactly means?

...
5,866
Posted By kajax
Ah, great! Now I got it! Thanks a lot...
Ah, great!

Now I got it!

Thanks a lot for your patience:)
5,866
Posted By kajax
sorry scrutinizer, I still don't get it. ...
sorry scrutinizer,

I still don't get it.

What is then the role of <$1>

or what means \1 in your example?
is then $1 == "bla"?
5,866
Posted By kajax
The awk cmd is not that important here. It...
The awk cmd is not that important here.

It just picks up a field from the lines matching the regex in the egrep command.

What I'm wondering about is what's the meaning of the $1 variable in the...
5,866
Posted By kajax
Ok, sorry! here is an example entry: May ...
Ok, sorry!

here is an example entry:
May 3 00:00:29 prx1-mgmt postfix/qmgr[3781]: 88BFC2FB802: from=<double-bounce@prx1.example.com>, size=288, nrcpt=1 (queue active)

So I think $1 should...
5,866
Posted By kajax
egrep -i "(from|to)=<$1>" mail.log ?
Hi,

As you can see I'm trying to get email addresses from the mail.log.

This is a part of a bash shell script I found but I#m wondering how I can check the
variable $1?
When I try
egrep -i...
Showing results 1 to 9 of 9

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