306 reputation
36
bio website
location
age 34
visits member for 3 years, 10 months
seen Oct 23 at 6:19

Oct
14
answered Increment a date in a file
Oct
6
awarded  Excavator
Oct
6
revised get list of months using dseq from dateutils
make a definitive statement
Oct
6
suggested suggested edit on get list of months using dseq from dateutils
Jun
17
awarded  Constituent
Jun
17
awarded  Caucus
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