Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: tools-reference/bash/
Date: Fri, 27 May 2022 09:02:54
Message-Id: 1653642096.512c283a0345ed0c4c72f08a3d60f024d704873c.ulm@gentoo
1 commit: 512c283a0345ed0c4c72f08a3d60f024d704873c
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 08:14:11 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 09:01:36 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=512c283a
7
8 tools-reference/bash: Rework table on file comparison
9
10 - Replace "same device and inode numbers" by "hard link".
11 - Fix grammar (remove "if").
12 - Remove full stops (according to style guide).
13
14 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
15
16 tools-reference/bash/text.xml | 10 +++++-----
17 1 file changed, 5 insertions(+), 5 deletions(-)
18
19 diff --git a/tools-reference/bash/text.xml b/tools-reference/bash/text.xml
20 index cb5522a..092e95d 100644
21 --- a/tools-reference/bash/text.xml
22 +++ b/tools-reference/bash/text.xml
23 @@ -360,8 +360,8 @@ available (lifted from <c>man bash</c>):
24 <body>
25
26 <p>
27 -The general form of a file comparison is <c>"file1" -operator "file2"</c>. The
28 -following are available (lifted from <c>man bash</c>):
29 +The general form of a file comparison is <c>"file1" -operator "file2"</c>.
30 +The following are available:
31 </p>
32
33 <table>
34 @@ -373,16 +373,16 @@ following are available (lifted from <c>man bash</c>):
35 <ti><c>file1 -nt file2</c></ti>
36 <ti>
37 file1 is newer (according to modification date) than file2,
38 - or if file1 exists and file2 does not.
39 + or file1 exists and file2 does not
40 </ti>
41 </tr>
42 <tr>
43 <ti><c>file1 -ot file2</c></ti>
44 - <ti>file1 is older than file2, or if file2 exists and file1 does not.</ti>
45 + <ti>file1 is older than file2, or file2 exists and file1 does not</ti>
46 </tr>
47 <tr>
48 <ti><c>file1 -ef file2</c></ti>
49 - <ti>file1 and file2 refer to the same device and inode numbers.</ti>
50 + <ti>file1 is a hard link to file2</ti>
51 </tr>
52 </table>