Search Results

Search: Posts Made By: barney34
2,870
Posted By barney34
Python Regex
I have the below string and regex. However I cant understand why it works the way it does. IP has been changed for safety ;)

String = NowSMS Error Report. Error initializing SMSC Interface 'SMPP...
1,406
Posted By barney34
script
This part of the script will print the first line as seen below

10. 3.132. 24³ 0 ³ 64511 <---- this prints to the screen


$ssh->expect(2, ":");
$ssh->send("foo\n");...
1,406
Posted By barney34
Dont Know How to Phrase the Title
Ok i have an expect script that logs into an appliance kinda like a Cisco router, runs a command, and I need to get some calculation out of the output of that command. The reason I have to use an...
3,070
Posted By barney34
awsome
Thank you all very much simply awsome
3,070
Posted By barney34
one more question
How would I get service: bla also. I tried several 100 things since my last post but I am evidently and ID10T and cant seem to get it to pull service: bla in cordinance w/ src and dest.
3,070
Posted By barney34
Thank you Both
Both sed and awk worked in thoes formats. Saved 6 yrs of my life thank you thank you thank you
3,070
Posted By barney34
Data
Here is a line in one place

8:15:30 accept 10.1.5.252 >eth-s1/s1p1c0 rule: 165; rule_uid: {A67EC623-96B2-4606-9759-3BA602966892}; service_id: http; src: 0.0.0.0; dst: 0.0.0.0; proto: tcp;...
3,070
Posted By barney34
Text File Pattern Mattching
If you have a text file where the word 'src:' appears in every line just different fields. What shell command is best to search for 'src:' and then print the next field. Same for 'dst:'


Text...
Showing results 1 to 8 of 8

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