Changeset 40980 for trunk/doc-new


Ignore:
Timestamp:
Oct 20, 2008, 5:50:29 AM (11 years ago)
Author:
markd@…
Message:

Refine the changes made in r40978.

File:
1 edited

Legend:

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

    r40978 r40980  
    22<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
    4 
    54<section id="reference.tcl-extensions">
    65  <title>Tcl Extensions</title>
     
    103102            <listitem>
    104103              <para>Deletes each of the given files/directories. Behaves
    105               similarly to file delete -force except that file delete
    106               -force will fail to delete directories properly on 10.3
    107               systems.</para>
     104              similarly to file delete -force except that file delete -force
     105              will fail to delete directories properly on 10.3 systems.</para>
    108106            </listitem>
    109107          </varlistentry>
     
    132130
    133131      <listitem>
    134         <para>xinstall copies files and creates directories; it is
    135         intended to be compatible with install(1).</para>
     132        <para>xinstall copies files and creates directories; it is intended to
     133        be compatible with install(1).</para>
    136134
    137135        <variablelist>
     
    158156
    159157            <listitem>
    160               <para>Change to <option>dir</option> and install file(s) to
    161               a destination directory.</para>
     158              <para>Change to <option>dir</option> and install file(s) to a
     159              destination directory.</para>
    162160            </listitem>
    163161          </varlistentry>
     
    228226
    229227      <listitem>
    230         <para>Allows text specified by a regular expression to be replaced
    231         by new text, in-place (the file will be updated itself, no need to
    232         place output into a new file and rename).</para>
     228        <para>Allows text specified by a regular expression to be replaced by
     229        new text, in-place (the file will be updated itself, no need to place
     230        output into a new file and rename).</para>
    233231
    234232        <variablelist>
     
    236234            <term>reinplace [-E] [--] <replaceable>command</replaceable>
    237235            <replaceable>file ...</replaceable></term>
     236
    238237            <listitem>
    239238              <para>Replace text given by the regular expression portion of
    240239              the command with the replacement text, in all files
    241240              specified.</para>
     241
    242242              <para>Use -E to use the extended regular expression style (see
    243243              re_format(7) for a description of the basic and extended
    244244              styles)</para>
     245
    245246              <para>Use -- to end option processing and allow any further
    246247              dashes not to be treated as options.</para>
     
    273274
    274275            <listitem>
    275               <para>Add a new local user to the system with the specified
    276               uid, gid, password, real name, home directory and login
    277               shell.</para>
     276              <para>Add a new local user to the system with the specified uid,
     277              gid, password, real name, home directory and login shell.</para>
    278278            </listitem>
    279279          </varlistentry>
     
    285285
    286286            <listitem>
    287               <para>Check if a local user exists.  Returns the uid for
    288               the given user, or 0 if the user wasn't found.  Note that 0
    289               is a valid uid (root) so don't use this for the root user,
    290               which should always exist anyway.</para>
     287              <para>Check if a local user exists. Returns the uid for the
     288              given user, or 0 if the user wasn't found. Checking for the root
     289              user is not supported because its uid is 0, and it will always
     290              exist anyway.</para>
    291291            </listitem>
    292292          </varlistentry>
     
    312312
    313313            <listitem>
    314               <para>Add a new local group to the system, with the
    315               specified gid, password, real name, and with a list users as
     314              <para>Add a new local group to the system, with the specified
     315              gid, password, real name, and with a list users as
    316316              members.</para>
    317317            </listitem>
     
    324324
    325325            <listitem>
    326               <para>Check if a local group exists and return the
    327               corresponding gid. This can be used with adduser:</para>
     326              <para>Check if a local group exists and return the corresponding
     327              gid. This can be used with adduser:</para>
    328328
    329329              <programlisting>addgroup foo
Note: See TracChangeset for help on using the changeset viewer.