Help ....
New to awk & finding it instance headache material ... I am almost there just can't get the last bit.
I will have the following into :
Product Name: CATIA MECH V4 ADD Workstations
Concurrent Offline Soft-Stop Queued
Licenses In-Use In-Use In-Use Not In-Use Requests
-------- ---------- ----------- ---------- ---------- ----------
25 15.00 0.00 0.00 10.00 0
Out of this file I want to pull Product name followed by licenses / In-Use / Not In-Use. This isn't a problem just can't find the command to extract the numbers as we will have lots of different amounts of licenses. What I want is to print out the line that starts with a number. So the output would look like :
Product Name: CATIA MECH V4 ADD Workstations
Licenses In-Use Not In-Use
25 15.00 10.00
Hope this makes sense
Thanks
New to awk & finding it instance headache material ... I am almost there just can't get the last bit.
I will have the following into :
Product Name: CATIA MECH V4 ADD Workstations
Concurrent Offline Soft-Stop Queued
Licenses In-Use In-Use In-Use Not In-Use Requests
-------- ---------- ----------- ---------- ---------- ----------
25 15.00 0.00 0.00 10.00 0
Out of this file I want to pull Product name followed by licenses / In-Use / Not In-Use. This isn't a problem just can't find the command to extract the numbers as we will have lots of different amounts of licenses. What I want is to print out the line that starts with a number. So the output would look like :
Product Name: CATIA MECH V4 ADD Workstations
Licenses In-Use Not In-Use
25 15.00 10.00
Hope this makes sense
Thanks