254 reputation
24
bio website
location
age 34
visits member for 3 years, 2 months
seen Apr 4 at 21:44

Mar
31
awarded  Necromancer
Aug
23
comment Remove all lines except D
@OlivierDulac That won't work, grep -F allows only literal strings, and yes I'm aware of this caveat, I assumed the OP's files would all look like their example and not have a D| in the middle of a line.
Aug
23
awarded  Yearling
Aug
23
answered Remove all lines except D
Aug
16
revised Faster way to find matching patterns from external file grep -f {patternfile} {source} in BASH
added 58 characters in body
Aug
16
comment Faster way to find matching patterns from external file grep -f {patternfile} {source} in BASH
Um, agrep (from ftp.cs.arizona.edu/agrep) does support patterns from a file, btw, it's -f
Aug
16
comment Faster way to find matching patterns from external file grep -f {patternfile} {source} in BASH
Oh, didn't know that, I couldn't use agrep either. I've implemented the Wu-Manber myself because I needed a twist though: matching ~200k - 900k patterns against 10+ million files, only report matches ... don't suppose that's of any use?
Aug
16
answered Faster way to find matching patterns from external file grep -f {patternfile} {source} in BASH
Aug
16
comment Faster way to find matching patterns from external file grep -f {patternfile} {source} in BASH
@IgnacioVazquez-Abrams not quite, you can match them in O(N + M), N the file length, M the sum of all pattern lengths
Jun
26
answered Good method to compare time?
Nov
27
answered How do you specify a format for the input to date?
Oct
11
awarded  Editor
Oct
11
revised Equivalent of date --reference in Solaris
added 99 characters in body
Oct
11
answered Equivalent of date --reference in Solaris
Jul
23
awarded  Supporter
Jul
11
answered Date computations without GNU tools
Jul
11
answered date, get current 15 minute interval
Apr
15
awarded  Analytical
Apr
13
answered How to generate a year-quarter date from the command line?
Apr
13
answered How to get elapsed time from two “text based” dates