Search Results

Search: Posts Made By: ampsys
2,070
Posted By ampsys
Holy shit. edit by bakunin: please note that...
Holy shit.

edit by bakunin: please note that swearing is not allowed in our forum. I can understand that you are being impressed by Don Craguns awk skills (he manages to make me stand in awe every...
2,296
Posted By ampsys
I hate find I've found it be to FAIL so many...
I hate find I've found it be to FAIL so many more times than successful.

You'd see better speed (and shorter arguments) ls -1'ing to a temp file, grep'ing the tmp, then cleaning up.

Find is...
1,654
Posted By ampsys
Identify file pattern, take count of pattern, then act
Guys -
Need your ideas on a section of code to finish something up. To make a long story short, I'm parsing a print output file that goes to pre-printed forms. I'm intercepting it, parsing it,...
2,998
Posted By ampsys
Fgrep/grep -f and literal strings
I have a file like this:

cat file

name = server
jobname = 1010
snapshot_name = funky_Win2k12_20140213210409
I'm trying to use grep to isolate that first line (name = server), but

grep -f...
6,253
Posted By ampsys
Thanks for your reply, bakunin. Sorry it wasn't...
Thanks for your reply, bakunin. Sorry it wasn't more clear, but in the OP, I was trying to convey that $marker was the string itself that I wanted to replace (VENDORLIST), and $markerrepl was the...
6,253
Posted By ampsys
Trouble with sed and substituting a string with special characters in variable
Hey guys,
I know that title is a mouthful - I'll try to better explain my struggles a little better...

What I'm trying to do is:

1. Query a db and output to a file, a list of column data....
Showing results 1 to 6 of 6

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