The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-24-2008
glev2005 glev2005 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 74
Please help me format this data

STMC429 (192.168.171.72)
2008-11-24 14:18:09.412 softwareupdate[11853] Loading CatalogURL http://creativesus.conair.lan:8088/index.sucatalog
No new software available.
There are no updates to install


STMC444 (3) (192.168.171.116)
2008-11-24 14:14:31.771 softwareupdate[3473] Loading CatalogURL http://creativesus.conair.lan:8088/index.sucatalog
There are 1 updates to install


STMC604 (192.168.171.48)
2008-11-24 14:13:44.486 softwareupdate[4239] Loading CatalogURL http://creativesus.conair.lan:8088/index.sucatalog
There are 1 updates to install


STMC606 (192.168.171.113)
There are 2 updates to install


STMC607 (192.168.23.54)
2008-11-24 14:13:44.457 softwareupdate[4854] Loading CatalogURL http://creativesus.conair.lan:8088/index.sucatalog
There are 1 updates to install

I only want the STMC#
and the amount of updates available
if no updates, that machine can be skipped
---------------------------------------------------------------------------------------------------------------

Output Should look like:
STMC607 1

Extra points for explanation


Thanks!