I'm starting to write some scripts to make my work as a PBX monkey eaiser, however I have hit a stumbling block.
I have the following output:
I would like to extract the TN (104 0 04 21) and the bottom 1140. I have the script set to not show me the output by doing 'log user 0', but I would like to have those two numbers either output to stdout, or to a file in one line, so for example I would have 104 0 4 21 1140
THANKS!
I have the following output:
Code:
DN 54908
CPND
NAME Jim Bob
XPLN 27
DISPLAY_FMT FIRST,LAST
TYPE SL1
TN 104 0 04 21 V KEY 00 H MARP DES JIMB 28 DEC 2012
(1140)
NACT
I would like to extract the TN (104 0 04 21) and the bottom 1140. I have the script set to not show me the output by doing 'log user 0', but I would like to have those two numbers either output to stdout, or to a file in one line, so for example I would have 104 0 4 21 1140
THANKS!