/srv/irclogs.ubuntu.com/2011/01/24/#ubuntu-us-nc.txt

=== axisofentropy is now known as adam_vollrath
=== bac` is now known as bac
BugeyeDhi all. looking for some awk help. the standard oreilly books aren't doing it for me. i need to search for pattern X, and then pattern Y. patterns X and Y exist in several locations, but i need to be finding the Y that comes right after the X. currently i'm picking up Y prior to X because i don't know how to limit my searches.18:15
BugeyeDhints?18:15
BugeyeDcurrently i have something like this: BEGIN {} /X/ { myx = $2 } /Y/ { myy = $5 } END { print myx, myy }18:19
BugeyeDX and Y searches are happening across the whole input; how do i start the /Y/ search at the line where /X/ was found?18:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!