=== axisofentropy is now known as adam_vollrath === bac` is now known as bac [18:15] hi 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] hints? [18:19] currently i have something like this: BEGIN {} /X/ { myx = $2 } /Y/ { myy = $5 } END { print myx, myy } [18:20] X and Y searches are happening across the whole input; how do i start the /Y/ search at the line where /X/ was found?