Changeset 112552 for trunk/doc-new


Ignore:
Timestamp:
Oct 25, 2013, 9:29:33 PM (7 years ago)
Author:
snc@…
Message:

doc-new: document all of reinplace's options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-tcl.xml

    r105189 r112552  
    260260        <variablelist>
    261261          <varlistentry>
    262             <term>reinplace [-E] [--] <replaceable>command</replaceable>
    263             <replaceable>file ...</replaceable></term>
     262            <term>
     263              reinplace
     264              [-locale <replaceable>locale</replaceable>]
     265              [-n]
     266              [-W <replaceable>dir</replaceable>]
     267              [--] <replaceable>command</replaceable>
     268              <replaceable>file ...</replaceable>
     269            </term>
    264270
    265271            <listitem>
     
    268274              specified.</para>
    269275
     276              <para>Use -locale to set the locale</para>
     277
     278              <para>-n is passed to sed to suppress echoing result</para>
     279
     280              <para>-W to set a common working directory for multiple
     281              files</para>
     282
    270283              <para>Use -E to use the extended regular expression style (see
    271284              re_format(7) for a description of the basic and extended
     
    280293        <para>Examples:</para>
    281294
    282         <programlisting>reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/configure</programlisting>
     295        <programlisting>reinplace -W ${worksrcpath} "s|/usr/local|${prefix}|g" configure setup.py</programlisting>
    283296
    284297        <programlisting>reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile</programlisting>
Note: See TracChangeset for help on using the changeset viewer.