View Single Post

   
  #1 (permalink)  
Old 02-25-2008, 12:37 AM
Henk Oegema
 
Posts: n/a
Default which command(s) to use ?

I want to read a certain value from a usb device printout, like this:

asterisk:/proc# k8055 -m:1
Velleman Device Found @ Address 018 Vendor 0x010cf Product ID 0x05500
get driver name: could not get bound driver: No data available
Found interface 0
Took over the device
232;0;119;132;2;1


The value I'm interested in is the last line
232;0;119;132;2;1
and then the second value (in this case 0)

I've been trying with the 'cut' command. But I don't know how to pick out
only the last line.
May be I need another approach. (?)

rgds
Henk




Reply With Quote