Extract word from text (sed,awk, etc...)

Hello, I need some help extracting the number after the RBA e.g 15911688 from the below block of text (e.g: grep RBA |sed .......). The code should be valid for blocks if text generated at different times as well and not for the below text only.

(drbiloukos@srv01)/export/home/drbiloukos/scripts/data_throughput>cat gg_info_replicat.tmp
Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Solaris, sparc, 64bit (optimized), Oracle 10g on Oct  5 2011 00:33:15
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
 
GGSCI (srv01) 1>
GGSCI (srv01) 1>
REPLICAT   RBGBA01   Last Started 2012-01-05 12:35   Status RUNNING
Checkpoint Lag       00:00:00 (updated 00:00:16 ago)
Log Read Checkpoint  File /GGATE/dirdat/billing/pd000062
                     2012-01-12 12:54:31.005412  RBA 15911688
 
GGSCI (srv01) 2>
GGSCI (srv01) 2> 

Thank you in advance for any help.

$ awk '/RBA/ {print $NF}' input.txt
15911688
1 Like

Thanks a lot...