On Wed, Apr 27, 2011 at 15:59, Charles Curley <[email protected]> wrote: >> '\b((s?he)|it)\b' > > Let's see it from the command line so we know which .?grep you used.
$ echo 'there sit she' | egrep --color '\b((s?he)|it)\b' there sit she $ echo 'there sit she' | sed -r 's/\b((s?he)|it)\b/Matched: "\1"/;' there sit Matched: "she" $ echo 'there sit she' | perl -ne '/\b((s?he)|it)\b/ && print "$1\n"' she :] -- Alan Young /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
