public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: tools-reference/bash/
Date: Fri, 27 May 2022 09:02:51 +0000 (UTC)	[thread overview]
Message-ID: <1653642096.512c283a0345ed0c4c72f08a3d60f024d704873c.ulm@gentoo> (raw)

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	other threads:[~2022-05-27  9:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-27  9:02 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-10 17:15 [gentoo-commits] proj/devmanual:master commit in: tools-reference/bash/ Ulrich Müller
2022-05-27  9:02 Ulrich Müller
2022-05-27  9:02 Ulrich Müller
2022-05-27  9:02 Ulrich Müller
2022-05-27  9:02 Ulrich Müller
2021-03-21  5:48 Ulrich Müller
2021-03-12 22:03 Ulrich Müller
2021-03-12 22:03 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1653642096.512c283a0345ed0c4c72f08a3d60f024d704873c.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox