~ubuntu-branches/ubuntu/maverick/typespeed/maverick

« back to all changes in this revision

Viewing changes to po/insert-header.sin

  • Committer: Bazaar Package Importer
  • Author(s): Dafydd Harries
  • Date: 2007-12-07 05:14:13 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071207051413-zn96fxeem6wknkiz
Tags: 0.6.4-1
* New upstream release. Closes: #375136.
  - High priority due to fix for DoS attack. Closes: #454527
    (CVE-2007-6220).
  - Fixes segfault when $HOME is unset. Closes: #355887.
  - Adds Italian and French word lists, Dutch word file merged.
* New upstream maintainer.
  - Update homepage URL, debian/copyright, debian/watch.
  - This version is not network-compatible with versions prior to 0.5.2.
  - Stricter network code.
  - Improved memory management.
* High score file format has changed: install score conversion program to
  /usr/lib/typespeed and run it when package is configured.
* postinst:
  - Remove obsolete score file backup/create/restore code.
  - Add code to upgrade score files to the new text-based format.
* rules:
  - Update to new autotools build.
  - Put stamp files in debian/.
  - Support DEB_BUILD_OPTS=noopt.
* Remove unnecessary debian/install.
* Update man page installation.
* Change menu file to Games/Action section as per new menu policy.
* Bump to debhelper compat version 5.
* Bump standards version to 3.7.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Sed script that inserts the file called HEADER before the header entry.
 
2
#
 
3
# At each occurrence of a line starting with "msgid ", we execute the following
 
4
# commands. At the first occurrence, insert the file. At the following
 
5
# occurrences, do nothing. The distinction between the first and the following
 
6
# occurrences is achieved by looking at the hold space.
 
7
/^msgid /{
 
8
x
 
9
# Test if the hold space is empty.
 
10
s/m/m/
 
11
ta
 
12
# Yes it was empty. First occurrence. Read the file.
 
13
r HEADER
 
14
# Output the file's contents by reading the next line. But don't lose the
 
15
# current line while doing this.
 
16
g
 
17
N
 
18
bb
 
19
:a
 
20
# The hold space was nonempty. Following occurrences. Do nothing.
 
21
x
 
22
:b
 
23
}