On Thu, 22 Dec 2005 18:32:23 -0600, [EMAIL PROTECTED] wrote: > > Yes, but then you'd have to do some funky regexp stuff to find the > > last line showing gcc (in this case) and only show the lines after > > it. It was a lot easier to do this with find -newer. > > Here is a pooryly coded sloppy perl script I just wrote. > Rather than get to tricky with date regex it relies on genlop output > being in chrono order. If it ever isn't I'm sunk.
What's wrong with using a simple find command as I originally posted? However, if you want to do it with genlop, here's a one line bash script. #!/bin/sh genlop --list --date "$(genlop --nocolor $1 | grep $1 | tail -n 1 | sed 's/^ *\(.*\) >>>.*/\1/')" -- Neil Bothwick My friends went to alt.california, and all they brought me was this lousy sig.
signature.asc
Description: PGP signature

