mirror of
https://github.com/aria2/aria2.git
synced 2024-12-14 09:28:55 +00:00
0276b3bb37
* ConsoleDownloadEngine.{h, cc}: Console output message(size, speed) is now generated by ConsoleDownloadEngine not by DownloadEngine. * main.cc: Download complete/abort message is now generated by main. * Makefile.am (SUBDIRS): Add m4. (ACLOCAL_AMFLAGS): New variable. (EXTRA_DIST): New variable. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in, * gettext: added gettext functionality
20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
# Sed script that remove the POT-Creation-Date line in the header entry
|
|
# from a POT file.
|
|
#
|
|
# The distinction between the first and the following occurrences of the
|
|
# pattern is achieved by looking at the hold space.
|
|
/^"POT-Creation-Date: .*"$/{
|
|
x
|
|
# Test if the hold space is empty.
|
|
s/P/P/
|
|
ta
|
|
# Yes it was empty. First occurrence. Remove the line.
|
|
g
|
|
d
|
|
bb
|
|
:a
|
|
# The hold space was nonempty. Following occurrences. Do nothing.
|
|
x
|
|
:b
|
|
}
|