> fwiw, running... > ps awx | grep 'a\getty.*tty2' > ...works as well as the single backslash doesn't then have to be escaped. > Richard > I have always just used this syntax: ps awx | grep [a]getty.*tty2 saves you a character