9 Dec
2006
9 Dec
'06
21:19
Anders Johansson wrote:
On Saturday 09 December 2006 20:36, jfweber@gilweber.com wrote:
often, and becomes and ex-human. s and/an
"an becomes and"? :)
Hm, I actually don't know how you tell sed to replace the second hit on a line and leave the first
s/and\(.*\)and/and\1an/
works for this particular case, but I have a gut feeling there is a more general way of doing it
While an interesting problem in itself, the engineer's solution would be s/d ex/ ex/ I know, lack of imagination and certainly not a more general way of doing it. :-) Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org