[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
doc/coreutils.texi fix
From: |
vy |
Subject: |
doc/coreutils.texi fix |
Date: |
Thu, 23 Nov 2006 17:37:49 +1100 |
Hello,
I've the following changes to offer for review.
-- Van Ly
1 --- coreutils.texi 2006-11-23 17:33:25.000000000 +1100
2 +++ ../coreutils-now/coreutils/doc/coreutils.texi 2006-10-29
04:22:04.000000000 +1100
3 @@ -29,7 +29,7 @@
4 @end direntry
5
6 @c FIXME: the following need documentation
7 address@hidden * [: (coreutils)[ invocation. FIXING.
8 address@hidden * [: (coreutils)[ invocation.
File/string tests.
9 @c * pinky: (coreutils)pinky invocation. FIXME.
10 @c * uptime: (coreutils)uptime invocation. FIXME.
11
12 @@ -184,7 +184,7 @@
13 * Changing file attributes:: chgrp chmod chown touch
14 * Disk usage:: df du stat sync
15 * Printing text:: echo printf yes
16 -* Conditions:: false true test [ expr
17 +* Conditions:: false true test expr
18 * Redirection:: tee
19 * File name manipulation:: dirname basename pathchk
20 * Working context:: pwd stty printenv tty
21 @@ -341,7 +341,6 @@
22 * false invocation:: Do nothing, unsuccessfully
23 * true invocation:: Do nothing, successfully
24 * test invocation:: Check file types and compare values
25 -* [ invocation:test invocation. Short form of test invocation
26 * expr invocation:: Evaluate expressions
27
28 @command{test}: Check file types and compare values
29 @@ -10183,7 +10182,6 @@
30 * false invocation:: Do nothing, unsuccessfully.
31 * true invocation:: Do nothing, successfully.
32 * test invocation:: Check file types and compare values.
33 -* [ invocation:test invocation. Short form of test invocation.
34 * expr invocation:: Evaluate expressions.
35 @end menu
36
37 @@ -10258,7 +10256,6 @@
38 @section @command{test}: Check file types and compare values
39
40 @pindex test
41 address@hidden [
42 @cindex check file types
43 @cindex compare values
44 @cindex expression evaluation
45 @@ -10270,12 +10267,13 @@
46 @command{test} has file status checks, string operators, and numeric
47 comparison operators.
48
49 address@hidden has a short form that uses opening and closing square
50 -brackets; for example, you can write @samp{[ -d / ]} in place of
51 address@hidden -d /}. The square brackets must be spaced separate
52 -symbols; for example, @samp{[-d /]} will not do. Since @samp{test
53 address@hidden and @samp{[ @var{expr} ]} have the same meaning, only the
54 -long form is discussed below.
55 address@hidden has an alternate form that uses opening and closing
56 +square brackets instead a leading @samp{test}. For example, instead
57 +of @samp{test -d /}, you can write @samp{[ -d / ]}. The square
58 +brackets must be separate arguments; for example, @samp{[-d /]} does
59 +not have the desired effect. Since @samp{test @var{expr}} and @samp{[
60 address@hidden ]} have the same meaning, only the former form is
discussed
61 +below.
62
63 Synopses:
64
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- doc/coreutils.texi fix,
vy <=