> On 24 Sep 2017, at 14:26, Yethal <grzegorz.chodzi...@gmail.com> wrote:
> 
> W dniu niedziela, 24 września 2017 15:03:45 UTC+2 użytkownik Sean Hunter 
> napisał:
>> Yeah. Grep | cut -f1 from that script is similar to the awk line I use 
>> except that I also only print the first match (if there are multiple 
>> matches) whereas that script will print all of them which I think will cause 
>> problems if you have a device attached multiple timex. 
>> 
>> Sent from my phone. Sorry if brief. 
>> 
>>> On 24 Sep 2017, at 13:44, Yethal <grzegorz.chodzi...@gmail.com> wrote:
>>> 
>>> W dniu niedziela, 24 września 2017 13:45:19 UTC+2 użytkownik Sean Hunter 
>>> napisał:
>>>> 
>>>> [sean@dom0 ~]# qvm-usb
>>>> BACKEND:DEVID     DESCRIPTION                    USED BY
>>>> fedora-25:1-1     QEMU_QEMU_USB_Tablet_42        
>>>> p:1-1             QEMU_QEMU_USB_Tablet_42        
>>>> sys-firewall:1-1  QEMU_QEMU_USB_Tablet_42        
>>>> sys-usb:1-3       Yubico_Yubikey_4_OTP+U2F+CCID  
>>>> sys-usb:1-6       0489_e076                      
>>>> vault:1-1         QEMU_QEMU_USB_Tablet_42        
>>>> 
> 
> For that to happen I'd have to have more than one device greppable using the 
> same keyword (or regex) right?
> 

Yes that’s the case for the touchpad on my laptop for instance as you can see 
above. It’s built-in but usb-attached apparently.  Any case both my script and 
the other one are about the sane for most practical use cases I would think. No 
reason to switch if its working well. 

Cheers,

Sean


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/E4F5C397-361F-4A18-AAB9-21BD7CD724BE%40uncarved.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to