Dan Nelson wrote:


I'm not sure that sed can process \123-style octal characters, since it
already uses the \ character for backreferences.  Since you're only
replacing one letter, you can use tr:

manpath | tr ':' '\000' | xargs -0 ls

oh Brilliant, i almost forgot this command!

But once I need to work with complex replacement, do I have to use the two commands together?

#cmd... | tr .... | sed ...

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to