[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Demexp-dev] Depencies of ocaml-gettext and other problems
From: |
David MENTRE |
Subject: |
Re: [Demexp-dev] Depencies of ocaml-gettext and other problems |
Date: |
Sat, 23 Sep 2006 17:37:45 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Christophe,
GISQUET Christophe <address@hidden> writes:
> When I fall short of Navy commandos for breakfast, I usually have sed
> scripts instead:
> sed ':a; /^#:/N; s/\n#://; ta' <file>
Ouch, quite impressive! Patch applied but some explanation would be
nice. :-)
If I understood correctly:
- put label "a";
- for each line starting with "#:", add them to the "pattern space";
- remove each pattern "\n#:";
- branch to label "a" if previous substitution is successful.
Am I correct?
Best wishes,
d.
--
GPG/PGP key: A3AD7A2A David MENTRE <address@hidden>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
- [Demexp-dev] Depencies of ocaml-gettext and other problems, GISQUET Christophe, 2006/09/02
- Re: [Demexp-dev] Depencies of ocaml-gettext and other problems, David MENTRE, 2006/09/23
- Re: [Demexp-dev] Depencies of ocaml-gettext and other problems, GISQUET Christophe, 2006/09/23
- Re: [Demexp-dev] Depencies of ocaml-gettext and other problems, David MENTRE, 2006/09/24
- Re: [Demexp-dev] Depencies of ocaml-gettext and other problems, GISQUET Christophe, 2006/09/24
- win32 and GTK (was: Re: [Demexp-dev] Depencies of ocaml-gettext and other problems), David MENTRE, 2006/09/24
- [Demexp-dev] Re: win32 and GTK, GISQUET Christophe, 2006/09/24
- Re: [Demexp-dev] Re: win32 and GTK, GISQUET Christophe, 2006/09/25
- Re: [Demexp-dev] Re: win32 and GTK, David MENTRE, 2006/09/26