Search Results

Search: Posts Made By: susankoperna1
851
Posted By susankoperna1
Thanks for the response. I am in need of Regex...
Thanks for the response. I am in need of Regex Expression to be used within Perl.

ex :

/BIND dn="\s*?uid=s*/
851
Posted By susankoperna1
Search a row
Hi,

I would like to capture rows having the following format :


BIND dn="uid=euser00,ou=people,o=example.com"


except "euser00" which is user id, others should remain as it is. Here is...
1,505
Posted By susankoperna1
Thanks a Lot!
Thanks a Lot!
1,505
Posted By susankoperna1
Random Variable
Hi,

Could you please let me know what the following code does, I know that it means generating random numbers, however not sure what is the entire purpose.


R=$(($RANDOM % 2))
...
2,239
Posted By susankoperna1
Thank you, meanwhile I was able to come up with...
Thank you, meanwhile I was able to come up with this .

BIND dn="\s*?uid=
2,239
Posted By susankoperna1
Well, I am using an IF block like this - ...
Well, I am using an IF block like this -

if( /BIND dn="uid=/ ) {

...some statement..
}

The issue is when there are some space before "uid"...
2,239
Posted By susankoperna1
Here is the log to scan: ...
Here is the log to scan:

[24/Jun/2013:07:21:40 -0600] conn=15570171 op=77 msgId=78 - BIND dn="uid=abc00,ou=people,o=xyz.com" method=128 version=3
2,239
Posted By susankoperna1
Regex space character
Hi,

I have following regex condition, however it does not work with different logs having same visible string.I believe it is because of some difference with space character, is it possible to...
Forum: Programming 06-18-2013
1,762
Posted By susankoperna1
Thank you for your response. How do I run...
Thank you for your response.

How do I run the command, either one gives me an error :

perl mfile.pl

perl mfile.pl access

readline() on unopened filehandle statements at mfile.pl line...
Forum: Programming 06-17-2013
1,762
Posted By susankoperna1
yes, first today's one and then previous day.
yes, first today's one and then previous day.
Forum: Programming 06-17-2013
1,762
Posted By susankoperna1
Is that syntax okay for perl?
Is that syntax okay for perl?
Forum: Programming 06-17-2013
1,762
Posted By susankoperna1
Hi, I need to put it into while loop. ...
Hi,

I need to put it into while loop.

Thanks.
Forum: Programming 06-17-2013
1,762
Posted By susankoperna1
Here are the file names : access ...
Here are the file names :

access
access.20130516-*
Forum: Programming 06-17-2013
1,762
Posted By susankoperna1
Performing a while for two files
Hi,

This is for Perl.

I have a while loop, and would like to process two files, the formats are given below :

access
access.<previousday>-*

How can perform a while loop on both logs,...
Showing results 1 to 14 of 14

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