Surely you meant to have a smiley face here somewhere?
$ echo e2fsck | sed 's/f*ck/darn/'
e2fsdarn
$
If not, you need to upgrade your "sed" to a version that works, because
yours doesn't. In regular expressions, the '*' character says "zero or
more of the preceeding character", so "f*ck" would match "ck", "fck",
"ffck", "fffck", etc., but not "fsck".
-- Chris Adams <cadams@ro.com> - System Administrator Renaissance Internet Services - IBS Interactive, Inc. Home: http://ro.com/~cadams - Public key: http://ro.com/~cadams/pubkey.txt I don't speak for anybody but myself - that's enough trouble.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/