Mailinglist Archive: opensuse (4446 mails)

< Previous Next >
Re: [opensuse] March of the Penguins?
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Sat, 9 Dec 2006 20:55:53 +0100
  • Message-id: <200612092055.53775.andjoh@xxxxxxxxxx>
On Saturday 09 December 2006 20:36, jfweber@xxxxxxxxxxxx wrote:
> > Well, that lyric is about someone who imposes his power once too
> > 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

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups