repo.or.cz
/
survex.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Name <trk> in GPX output
[survex.git]
/
lib
/
touch-po.pl
blob
45ce3019f90fa871fd03161439d2569aca971013
1
#!/usr/bin/perl -i
2
require
5.008
;
3
use
strict
;
4
use
warnings
;
5
use
POSIX
;
6
7
my
$pot_creation_date
=
strftime
"
%Y
-
%m
-
%d
%H
:
%M
:
%S
+0000"
,
gmtime
();
8
9
while
(<>) {
10
s/^("PO-Revision-Date:).*(\\n")/$1 $pot_creation_date$2/
;
11
print
;
12
}