On Mon, 24 Jan 2011 13:37:33 +0100, David Jardine wrote: >> $ amixer | grep -ie 'Beep|Speaker' || echo no no > > I think you would need 'Beep\|Speaker' to make that work as you intend. Good catch. Wrong case. The result is the same, 'cause I've viewed amixer output beforehand: $ amixer | grep -iE 'Beep|Speaker' || echo no no -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/