cSvn-UI for SVN Repositories

cGit-UI – is a web interface for Subversion (SVN) Repositories. cSvn CGI script is writen in C and therefore it's fast enough

6 Commits   0 Branches   2 Tags
bfc1508d (kx 2023-03-24 03:55:33 +0300  1) # Sed script that remove the POT-Creation-Date line in the header entry
bfc1508d (kx 2023-03-24 03:55:33 +0300  2) # from a POT file.
bfc1508d (kx 2023-03-24 03:55:33 +0300  3) #
bfc1508d (kx 2023-03-24 03:55:33 +0300  4) # The distinction between the first and the following occurrences of the
bfc1508d (kx 2023-03-24 03:55:33 +0300  5) # pattern is achieved by looking at the hold space.
bfc1508d (kx 2023-03-24 03:55:33 +0300  6) /^"POT-Creation-Date: .*"$/{
bfc1508d (kx 2023-03-24 03:55:33 +0300  7) x
bfc1508d (kx 2023-03-24 03:55:33 +0300  8) # Test if the hold space is empty.
bfc1508d (kx 2023-03-24 03:55:33 +0300  9) s/P/P/
bfc1508d (kx 2023-03-24 03:55:33 +0300 10) ta
bfc1508d (kx 2023-03-24 03:55:33 +0300 11) # Yes it was empty. First occurrence. Remove the line.
bfc1508d (kx 2023-03-24 03:55:33 +0300 12) g
bfc1508d (kx 2023-03-24 03:55:33 +0300 13) d
bfc1508d (kx 2023-03-24 03:55:33 +0300 14) bb
bfc1508d (kx 2023-03-24 03:55:33 +0300 15) :a
bfc1508d (kx 2023-03-24 03:55:33 +0300 16) # The hold space was nonempty. Following occurrences. Do nothing.
bfc1508d (kx 2023-03-24 03:55:33 +0300 17) x
bfc1508d (kx 2023-03-24 03:55:33 +0300 18) :b
bfc1508d (kx 2023-03-24 03:55:33 +0300 19) }