commit:     512c283a0345ed0c4c72f08a3d60f024d704873c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 08:14:11 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 27 09:01:36 2022 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=512c283a

tools-reference/bash: Rework table on file comparison

- Replace "same device and inode numbers" by "hard link".
- Fix grammar (remove "if").
- Remove full stops (according to style guide).

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 tools-reference/bash/text.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools-reference/bash/text.xml b/tools-reference/bash/text.xml
index cb5522a..092e95d 100644
--- a/tools-reference/bash/text.xml
+++ b/tools-reference/bash/text.xml
@@ -360,8 +360,8 @@ available (lifted from <c>man bash</c>):
 <body>
 
 <p>
-The general form of a file comparison is <c>"file1" -operator "file2"</c>. The
-following are available (lifted from <c>man bash</c>):
+The general form of a file comparison is <c>"file1" -operator "file2"</c>.
+The following are available:
 </p>
 
 <table>
@@ -373,16 +373,16 @@ following are available (lifted from <c>man bash</c>):
   <ti><c>file1 -nt file2</c></ti>
   <ti>
     file1 is newer (according to modification date) than file2,
-    or if file1 exists and file2 does not.
+    or file1 exists and file2 does not
   </ti>
 </tr>
 <tr>
   <ti><c>file1 -ot file2</c></ti>
-  <ti>file1 is older than file2, or if file2 exists and file1 does not.</ti>
+  <ti>file1 is older than file2, or file2 exists and file1 does not</ti>
 </tr>
 <tr>
   <ti><c>file1 -ef file2</c></ti>
-  <ti>file1 and file2 refer to the same device and inode numbers.</ti>
+  <ti>file1 is a hard link to file2</ti>
 </tr>
 </table>
 

Reply via email to