mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 20:23:36 +08:00
0cd41d4dff
perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
50 lines
1.5 KiB
XML
50 lines
1.5 KiB
XML
<?xml version='1.0'?> <!--*-nxml-*-->
|
|
|
|
<!--
|
|
SPDX-License-Identifier: LGPL-2.1+
|
|
-->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:exsl="http://exslt.org/common"
|
|
extension-element-prefixes="exsl"
|
|
version="1.0">
|
|
|
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
|
|
|
|
<xsl:template name="top.comment" />
|
|
|
|
<xsl:template name="TH.title.line">
|
|
<xsl:param name="title"/>
|
|
<xsl:param name="section"/>
|
|
<xsl:param name="extra1"/>
|
|
<xsl:param name="extra2"/>
|
|
<xsl:param name="extra3"/>
|
|
|
|
<xsl:call-template name="mark.subheading"/>
|
|
<xsl:text>.TH "</xsl:text>
|
|
<xsl:call-template name="string.upper">
|
|
<xsl:with-param name="string">
|
|
<xsl:value-of select="normalize-space($title)"/>
|
|
</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>" "</xsl:text>
|
|
<xsl:value-of select="normalize-space($section)"/>
|
|
<xsl:text>" "" "systemd </xsl:text>
|
|
<xsl:value-of select="$systemd.version"/>
|
|
<xsl:text>" "</xsl:text>
|
|
<xsl:value-of select="normalize-space($extra3)"/>
|
|
<xsl:text>" </xsl:text>
|
|
<xsl:call-template name="mark.subheading"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="literal">
|
|
<xsl:if test="$man.hyphenate.computer.inlines = 0">
|
|
<xsl:call-template name="suppress.hyphenation"/>
|
|
</xsl:if>
|
|
<xsl:text>"</xsl:text>
|
|
<xsl:call-template name="inline.monoseq"/>
|
|
<xsl:text>"</xsl:text>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|