Browse Source

minor fixes to examples

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277850 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
a8c6fe2bd6
2 changed files with 8 additions and 8 deletions
  1. +1
    -1
      docs/manual/CoreTasks/basename.html
  2. +7
    -7
      docs/manual/CoreTasks/chmod.html

+ 1
- 1
docs/manual/CoreTasks/basename.html View File

@@ -58,7 +58,7 @@ a relative-path filename (eg., <code>lib/myjar.jar</code>),
or a simple filename (eg., <code>myjar.jar</code>).
<blockquote><pre>
&lt;basename property=&quot;cmdname&quot; file=&quot;D:/usr/local/foo.exe&quot;
suffix=&quot;.exe&quot;/&gt;
suffix=&quot;.exe&quot;/&gt;
</pre></blockquote>
will set <code>cmdname</code> to <code>foo</code>.
<blockquote><pre>


+ 7
- 7
docs/manual/CoreTasks/chmod.html View File

@@ -99,14 +99,14 @@ href="../CoreTypes/filelist.html">filelist</a>s.</p>
</tr>
</table>
<h3>Examples</h3>
<blockquote>
<p><code>&lt;chmod file=&quot;${dist}/start.sh&quot; perm=&quot;ugo+rx&quot;/&gt;</code></p>
</blockquote>
<blockquote><pre>
&lt;chmod file=&quot;${dist}/start.sh&quot; perm=&quot;ugo+rx&quot;/&gt;
</pre></blockquote>
<p>makes the &quot;start.sh&quot; file readable and executable for anyone on a
UNIX system.</p>
<blockquote>
<p><code>&lt;chmod file=&quot;${dist}/start.sh&quot; perm=&quot;700&quot;/&gt;</code></p>
</blockquote>
<blockquote><pre>
&lt;chmod file=&quot;${dist}/start.sh&quot; perm=&quot;700&quot;/&gt;
</pre></blockquote>
<p>makes the &quot;start.sh&quot; file readable, writable and executable only for the owner on a
UNIX system.</p>
<blockquote>
@@ -145,7 +145,7 @@ permissions.</p>
&lt;/dirset&gt;
&lt;/chmod&gt;
</pre>
</blockquote>blockquote>
</blockquote>

<p>keeps non-owners from touching cgi scripts, files with a <code>.old</code>
extension or directories beginning with <code>private_</code>. A directory


Loading…
Cancel
Save