umass regression

Warren Block wblock at wonkity.com
Sat Dec 31 16:15:48 UTC 2011


On Sat, 31 Dec 2011, Bartosz Fabianowski wrote:

> How do I make the quirk actually stick?
>
>> usbconfig -h | grep quirk
>
> I have seen you post this line before. At least on my system, it does not 
> work. usbconfig writes straight to the screen, grep does not filter anything.

-h output is being written to stderr.  Redirect it:

sh(1):
   usbconfig -h 2>&1 | grep quirk

csh(1):
   usbconfig -h |& grep quirk

Maybe there is a reason for this.  Otherwise, line 268 of usbconfig.c 
could be changed to print to stdout.


More information about the freebsd-usb mailing list