Sponsored Content
Full Discussion: REGEX code help
Top Forums Programming REGEX code help Post 302420861 by Scott on Wednesday 12th of May 2010 06:13:10 PM
Old 05-12-2010
Quote:
Originally Posted by fed.linuxgossip
Hi,

I need as regex code for the following line:

May-12-10 13:16:41 82.249.21.94 <apoxidikyt3339@proxad.net> user unknown terry@somedomain.com;

The above line is a log from ASSP




A similar regex is mentioned in ASSP - Fail2ban, which is using log with a different pattern ( notice :[SMTP Error] 550 5.1.1 , this is not in the log above)




Please advise.


Thanks
Sorry... I don't understand. What is the question?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need a regex

Hi, I am trying to grep for the following type of string from a document given below: 12637 1239 3356 12956 7004 7004 7004 13381 13381 *> 12.0.1.63 0 7018 21872 ? * 208.51.134.254 53 0 3549 7018 21872 ?... (1 Reply)
Discussion started by: Legend986
1 Replies

2. Shell Programming and Scripting

Regex

How do I write a regular expression to capture the comments of Pascal which are usually delimted by (* and *) or { and }? And also I need a regular expression to express financial quantities in American Notation. They have a leading dollar sign and an optional string of asteriks,a string of decimal... (1 Reply)
Discussion started by: saikrishnan7
1 Replies

3. Shell Programming and Scripting

regex help

I would like to search strings composed by only one type of charachter for example only strings composed by the charachter 'b' is it right? $egrep '\<(b+)+\>' filename Could be there some side effects? Regards. (1 Reply)
Discussion started by: and77
1 Replies

4. Shell Programming and Scripting

Converting perl regex to sed regex

I am having trouble parsing rpm filenames in a shell script.. I found a snippet of perl code that will perform the task but I really don't have time to rewrite the entire script in perl. I cannot for the life of me convert this code into something sed-friendly: if ($rpm =~ /(*)-(*)-(*)\.(.*)/)... (1 Reply)
Discussion started by: suntzu
1 Replies

5. Shell Programming and Scripting

regex in ls

Hi Experts, I am using ls with regex in the below manner: VAR="*.txt *.TXT" ls -l $VAR This is working fine if I have both txt and TXT extension files in my directory. But if any of them is not present, its throwing errors, that *.TXT file not found in the directory. So what am i missing... (6 Replies)
Discussion started by: sugarcane
6 Replies

6. UNIX for Dummies Questions & Answers

read regex from ID file, print regex and line below from source file

I have a file of protein sequences with headers (my source file). Based on a list of IDs (which are included in some of the headers), I'd like to print out only the specified sequences, with only the ID as header. In other words, I'd like to search source.txt for the terms in IDs.txt, and print... (3 Replies)
Discussion started by: pathunkathunk
3 Replies

7. Shell Programming and Scripting

Help with REGEX??

i have a file 1.txt. the file contains: * server1.com : ewf,wefwef,wef,wef ------------------------------------- * server2.com : ewf,wefwef,wef,wef ------------------------------------- * server3.com : ewf,wefwef,wef,wef ------------------------------------- how can i read * ? from the... (2 Replies)
Discussion started by: zigizag
2 Replies

8. Shell Programming and Scripting

Perl, RegEx - Help me to understand the regex!

I am not a big expert in regex and have just little understanding of that language. Could you help me to understand the regular Perl expression: ^(?!if\b|else\b|while\b|)(?:+?\s+){1,6}(+\s*)\(*\) *?(?:^*;?+){0,10}\{ ------ This is regex to select functions from a C/C++ source and defined in... (2 Replies)
Discussion started by: alex_5161
2 Replies

9. Shell Programming and Scripting

Sendmail K command regex: adding exclusion/negative lookahead to regex -a@MATCH

I'm trying to get some exclusions into our sendmail regular expression for the K command. The following configuration & regex works: LOCAL_CONFIG # Kcheckaddress regex -a@MATCH +<@+?\.++?\.(us|info|to|br|bid|cn|ru) LOCAL_RULESETS SLocal_check_mail # check address against various regex... (0 Replies)
Discussion started by: RobbieTheK
0 Replies

10. Programming

Regex

I dabbled with regex a few years back and failed miserably. I am trying to do two things, and dont know where to start. Heres my examples 1) Code Code CODERS should be Code Code Coders 2) Code Code CODERSFunny should be (3 Replies)
Discussion started by: jeffs42885
3 Replies
tavor(7D)																 tavor(7D)

NAME
tavor - InfiniHost MT23108/MT25208 InfiniBand (IB) Driver SYNOPSIS
PCI pci15b3,5a44@pci-slot, pci15b3,5a45@pci-slot PCI-E pci15b3,6278@pci-e-slot, pci15b3,6279@pci-e-slot The tavor driver is an IB Architecture-compliant implementation of an HCA, which operates on the Mellanox MT23108 InfiniBand ASSP and the Mellanox MT25208 InfiniBand ASSP. These ASSP's support the link and physical layers of the InfiniBand specification, while the ASSP and the driver support the transport layer. The tavor driver interfaces with the InfiniBand Transport Framework (IBTF) and provides an implementation of the Channel Interfaces that are defined by that framework. It also enables management applications and agents to access the IB fabric. FILES
/kernel/drv/tavor 32-bit ELF kernel module ( platform only). /kernel/drv/amd64/tavor 64-bit ELF kernel module ( platform only). /kernel/drv/sparcv9/tavor 64-bit ELF Kernel Module (SPARC platform only). /kernel/drv/tavor.conf Driver configuration file. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |PCI-based systems | +-----------------------------+-----------------------------+ |Availability |SUNWtavor | +-----------------------------+-----------------------------+ driver.conf(4), printers.conf(4), attributes(5) Writing Device Drivers In addition to being logged, the following messages may appear on the system console. tavor : driver attached for maintenance mode only. There was a failure in the boot process of the tavor ASSP and the only function that can be performed is to re-flash firmware on the ASSP. driver failed to attach. The ASSP could not boot into either operational (HCA) mode or into maintenance mode. The device in inoperable. Unexpected port number in port state change event. A port state change event occurred, but the port number in the message does not exist on this HCA. This message also indicates the port number that was in the port state change. Tavor driver successfully detached. The driver has been removed from the system, and the HCA is no longer available for transfer operations. tavor"n": port "m" up. A port up asynchronous event has occured. "n" represents the instance of the Tavor device number, and "m" represents the port number on the Tavor device. tavor"n": port "m" down. A port down aynchronous event has occurred. Tavor: <command name> command failed. A internal firmware command failed to execute. 11 Feb 2005 tavor(7D)
All times are GMT -4. The time now is 04:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy