Edit

thodg/libiconv/po/quot.sed

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2024-12-15 13:11:29
    Hash : deb432a1
    Message : Use the newest gettext release. * po/Makefile.in.in: Upgrade to gettext-0.23, keeping the change 2019-01-27 Bruno Haible <bruno@clisp.org> Accommodate a shell that is not in /bin/sh. * po/Makefile.in.in (SHELL): Use the value found by configure. * po/*: Upgrade to gettext-0.23 as well.

  • po/quot.sed
  • # Sed script that converts quotations, by replacing ASCII quotation marks
    # with Unicode quotation marks.
    #
    # Copyright (C) 2001 Free Software Foundation, Inc.
    # This file is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    # This file is offered as-is, without any warranty.
    #
    # Written by Bruno Haible <bruno@clisp.org>, 2001.
    #
    s/"\([^"]*\)"/“\1”/g
    s/`\([^`']*\)'/‘\1’/g
    s/ '\([^`']*\)' / ‘\1’ /g
    s/ '\([^`']*\)'$/ ‘\1’/g
    s/^'\([^`']*\)' /‘\1’ /g
    s/“”/""/g