Search Results

Search: Posts Made By: smb_uk
18,203
Posted By smb_uk
Just thought I'd let you know what I've ended up...
Just thought I'd let you know what I've ended up with. It's ugly as, but does what I want, but I reckon there are probably many ways to make it more elegant, as it's really only a few lines of code...
18,203
Posted By smb_uk
I'm not going to get a chance to play with this...
I'm not going to get a chance to play with this until Thursday now, but it looks as though I've all the elements I need now from the many replies, so thanks all for the input.
18,203
Posted By smb_uk
This solution loses the ability to handle the...
This solution loses the ability to handle the tags in a custom manner, it simply displays what's already there in a different format, although maybe I should have pointed that requirement out...
18,203
Posted By smb_uk
That's much cleaner, and I assume quicker as it's...
That's much cleaner, and I assume quicker as it's doing a single scan. I can't test this at the moment, but I assume this is addressing the single pass, and the clean, and not the returning of either...
18,203
Posted By smb_uk
AWK pattern matching, first and last
In a nutshell, I need to work out how to return the last matching pattern from an awk //,// search. I can bring back the first, but am unsure how to obtain the last, and a simple tail won't work as...
3,212
Posted By smb_uk
That's great, although I'm hoping to find a way...
That's great, although I'm hoping to find a way that works without a shell, so for instance, I could have it working in Windows with the UnxUtils.
3,212
Posted By smb_uk
Returning filename and matching lines
What I'm trying to do is to search through a list of files, and output the filename, followed by the lines that matched the pattern.

I'm matching the string "letters.moreletters" in any one of...
Showing results 1 to 7 of 7

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