"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "po/remove-potcdate.sin" between
msmtp-1.8.8.tar.xz and msmtp-1.8.10.tar.xz

About: msmtp is an SMTP client with a sendmail compatible interface. It can be used with Mutt and other mail user agents.

remove-potcdate.sin  (msmtp-1.8.8.tar.xz):remove-potcdate.sin  (msmtp-1.8.10.tar.xz)
# Sed script that remove the POT-Creation-Date line in the header entry # Sed script that removes the POT-Creation-Date line in the header entry
# from a POT file. # from a POT file.
# #
# Copyright (C) 2002 Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
#
# The distinction between the first and the following occurrences of the # The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space. # pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{ /^"POT-Creation-Date: .*"$/{
x x
# Test if the hold space is empty. # Test if the hold space is empty.
s/P/P/ s/P/P/
ta ta
# Yes it was empty. First occurrence. Remove the line. # Yes it was empty. First occurrence. Remove the line.
g g
d d
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)