lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding IR links


From: Reinhold Kainhofer
Subject: Re: adding IR links
Date: Sat, 5 Apr 2008 15:51:20 +0200
User-agent: KMail/1.9.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag, 5. April 2008 schrieb John Mandereau:
> Gee, either sed is broken, or the manual doesn't match sed features, or
> I'm stupid: 's/@end ignore/&address@hidden \\version "2.11.38"/1' inserts the
> \version line after all occurences of '@end ignore', despite of the '1'
> flag telling sed to replace only first match.

The think what you are missing is that sed is line based. What your regexp is 
doing is to replace only the first "@end ignore" in each line...

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH94PbTqjEwhXvPN0RAimUAJ9fPEdgyXDmFoxg54OmhA81pcsETACgvFCM
tY9aOxy46ldlCSaNqZaFnBw=
=D36y
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]