1

Python regular expression screen scrub

view story
linux-howto

http://www.unix.com – Hi I am trying to write a python script that executes a command to screen scrub results below I will appreciate it very much if you can help me with a python script that can pick the percentage USAGE in the second column based on the supplied queue number in the first column Code: import re content = """NUMBER of Queues = 5 SYSTEM Treshold = 80%   ================================================================== QUEUE  USAGE  TOTAL book1  book2 ------------------------------------------------------------------ 0001 18%  822  481&n (HowTos)