]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: replace "plural(s)" by "plurals"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Oct 2022 14:06:20 +0000 (16:06 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Oct 2022 13:10:53 +0000 (15:10 +0200)
(s) is just ugly with a vibe of DOS. In most cases just using the normal plural
form is more natural and gramatically correct.

There are some log_debug() statements left, and texts in foreign licenses or
headers. Those are not touched on purpose.

32 files changed:
NEWS
docs/PORTABLE_SERVICES.md
man/crypttab.xml
man/hostnamectl.xml
man/oomctl.xml
man/portablectl.xml
man/systemd-analyze.xml
man/systemd-getty-generator.xml
man/systemd-measure.xml
man/systemd.path.xml
man/systemd.resource-control.xml
man/systemd.service.xml
man/systemd.time.xml
man/tmpfiles.d.xml
man/udevadm.xml
shell-completion/zsh/_oomctl
shell-completion/zsh/_systemd-analyze
src/basic/meson.build
src/core/timer.c
src/core/unit.h
src/libsystemd-network/sd-dhcp-lease.c
src/network/networkd-wifi.c
src/oom/oomd-manager.c
src/shared/ethtool-util.c
src/shared/format-table.h
src/shared/wifi-util.c
src/systemctl/systemctl-edit.c
src/userdb/userdbctl.c
test/knot-data/knot.conf
test/test-network/systemd-networkd-tests.py
test/units/testsuite-03.sh
tmpfiles.d/systemd-pstore.conf

diff --git a/NEWS b/NEWS
index f049e53b2327d4307b49c81b6b7d71dcb09793e0..85fc10f3c192462c2ceb07eca52e9a6e6505721e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2477,9 +2477,9 @@ CHANGES WITH 249:
           unit, which will be instantiated using the same instance name.
 
         * A new MemoryAvailable property is available for units. If the unit,
-          or the slice(s) it is part of, have a memory limit set via MemoryMax=/
+          or the slices it is part of, have a memory limit set via MemoryMax=/
           MemoryHigh=, MemoryAvailable will indicate how much more memory the
-          unit can claim before hitting the limit(s).
+          unit can claim before hitting the limits.
 
         * systemd-coredump will now try to stay below the cgroup memory limit
           placed on itself or one of the slices it runs under, if the storage
index 20acbeae03356d23ab32a6a60a421e16f99cf721..4f02ddb47786f7fd76e86c9d0162d5b32d549bb9 100644 (file)
@@ -275,17 +275,17 @@ following must be also be observed:
 1. The base/OS image must contain an `os-release file`, either in `/etc/os-release`
    or `/usr/lib/os-release`, in the standard format.
 
-2. The upper extension(s) image(s) must contain an extension-release file in
+2. The upper extension images must contain an extension-release file in
    `/usr/lib/extension-release.d/`, with an `ID=` and `SYSEXT_LEVEL=`/`VERSION_ID=`
    matching the base image.
 
 3. The base/OS image does not need to have any unit files.
 
-4. The upper extension(s) image(s) must at least contain one matching unit file each,
-   with the right name prefix and suffix (see above).
+4. The upper extension images must contain at least one matching unit file
+   each, with the right name prefix and suffix (see above).
 
-5. As with the base/OS image, the upper extension(s) image(s) must be a plain
-   sub-directory, a btrfs subvolume or a raw disk image.
+5. As with the base/OS image, each upper extension image must be a plain
+   sub-directory, btrfs subvolume, or a raw disk image.
 
 ```
 # portablectl attach --extension foobar_0.7.23.raw debian-runtime_11.1.raw foobar
index 363691a007b1593791a371034ddf518d4ea338ff..cbbb8ab2a96ab6dfc2da340f7d734ad65c1707e5 100644 (file)
@@ -94,7 +94,7 @@
     <orderedlist>
 
       <listitem><para>Most prominently, the user may be queried interactively during volume activation
-      (i.e. typically at boot), asking them to type in the necessary passphrase(s).</para></listitem>
+      (i.e. typically at boot), asking them to type in the necessary passphrases.</para></listitem>
 
       <listitem><para>The (unencrypted) key may be read from a file on disk, possibly on removable media. The third field
       of each line encodes the location, for details see above.</para></listitem>
index 3697bbb4747d24a371a488de49825b71688c7f8e..6933c68e3820a62ae63ecee603ba6cd5ffe834aa 100644 (file)
         <listitem><para>If <command>status</command> is invoked (or no explicit command is given) and one of these
         switches is specified, <command>hostnamectl</command> will print out just this selected hostname.</para>
 
-        <para>If used with <command>set-hostname</command>, only the selected hostname(s) will be updated. When more
+        <para>If used with <command>set-hostname</command>, only the selected hostnames will be updated. When more
         than one of these switches are specified, all the specified hostnames will be updated. </para></listitem>
       </varlistentry>
 
index b5e8a44282aac9e28619c4bdb72b0ad88265c576..950e79df13c84692684f429f519530ce44c71ed9 100644 (file)
@@ -48,7 +48,7 @@
       <varlistentry>
         <term><command>dump</command></term>
 
-        <listitem><para>Show the current state of the cgroup(s) and system context(s) stored by
+        <listitem><para>Show the current state of the cgroups and system contexts stored by
         <command>systemd-oomd</command>.</para></listitem>
       </varlistentry>
 
index deb7842d1f36e2013ec700535bbed7caccf8f10f..963361e28cbedd73aea1c4262608ff44adc48118 100644 (file)
         when <option>--no-reload</option> is specified (see below). This ensures that the new units made available to
         the service manager are seen by it.</para>
 
-        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable service(s) are
+        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable services are
         immediately started (blocking operation unless <option>--no-block</option> is passed) and/or enabled after
         attaching the image.</para>
         </listitem>
         files. This is a convenience feature to allow all arguments passed as <command>attach</command> also to
         <command>detach</command>.</para></listitem>
 
-        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable service(s) are
+        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable services are
         immediately stopped (blocking operation) and/or disabled before detaching the image. Prefix(es) are also accepted,
         to be used in case the unit names do not match the image name as described in the <command>attach</command>.</para>
       </varlistentry>
         character has to match. If the new image doesn't exist, the existing one will not be detached. The parameters
         follow the same syntax as the <command>attach</command> command.</para></listitem>
 
-        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable service(s) are
+        <para>If <option>--now</option> and/or <option>--enable</option> are passed, the portable services are
         immediately stopped if removed, started and/or enabled if added, or restarted if updated. Prefixes are also
         accepted, in the same way as described in the <command>attach</command> case.</para>
       </varlistentry>
         <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         for the <varname>ExtensionImages=</varname> directive and for the
         <citerefentry><refentrytitle>systemd-sysext</refentrytitle><manvolnum>8</manvolnum></citerefentry> tool.
-        The image(s) must contain an <filename>extension-release</filename> file with metadata that matches
+        The images must contain an <filename>extension-release</filename> file with metadata that matches
         what is defined in the <filename>os-release</filename> of <replaceable>IMAGE</replaceable>. See:
         <citerefentry><refentrytitle>os-release</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
         Images can be block images, btrfs subvolumes or directories. For more information on portable
index cce08fa121800c7eb6fbcd99fa40766efa31f3a2..0d91cdd7d06d4b73e220647fde07bddfab0b718c 100644 (file)
@@ -742,7 +742,7 @@ $ systemd-analyze verify /tmp/source:alias.service
     <refsect2>
       <title><command>systemd-analyze inspect-elf <replaceable>FILE</replaceable>...</command></title>
 
-      <para>This command will load the specified file(s), and if they are ELF objects (executables,
+      <para>This command will load the specified files, and if they are ELF objects (executables,
       libraries, core files, etc.) it will parse the embedded packaging metadata, if any, and print
       it in a table or json format. See the <ulink url="https://systemd.io/COREDUMP_PACKAGE_METADATA/">
       Packaging Metadata</ulink> documentation for more information.</para>
@@ -902,7 +902,7 @@ $ systemd-analyze verify /tmp/source:alias.service
         <term><option>--offline=<replaceable>BOOL</replaceable></option></term>
 
         <listitem><para>With <command>security</command>, perform an offline security review
-        of the specified unit file(s), i.e. does not have to rely on PID 1 to acquire security
+        of the specified unit files, i.e. does not have to rely on PID 1 to acquire security
         information for the files like the <command>security</command> verb when used by itself does.
         This means that <option>--offline=</option> can be used with <option>--root=</option> and
         <option>--image=</option> as well. If a unit's overall exposure level is above that set by
@@ -914,7 +914,7 @@ $ systemd-analyze verify /tmp/source:alias.service
         <term><option>--profile=<replaceable>PATH</replaceable></option></term>
 
         <listitem><para>With <command>security</command> <option>--offline=</option>, takes into
-        consideration the specified portable profile when assessing the unit(s) settings.
+        consideration the specified portable profile when assessing unit settings.
         The profile can be passed by name, in which case the well-known system locations will
         be searched, or it can be the full path to a specific drop-in file.</para></listitem>
       </varlistentry>
@@ -923,7 +923,7 @@ $ systemd-analyze verify /tmp/source:alias.service
         <term><option>--threshold=<replaceable>NUMBER</replaceable></option></term>
 
         <listitem><para>With <command>security</command>, allow the user to set a custom value
-        to compare the overall exposure level with, for the specified unit file(s). If a unit's
+        to compare the overall exposure level with, for the specified unit files. If a unit's
         overall exposure level, is greater than that set by the user, <command>security</command>
         will return an error. <option>--threshold=</option> can be used with <option>--offline=</option>
         as well and its default value is 100.</para></listitem>
index 038613d8295dcc66e1aecb16a135f86bc32df2e3..def38520dfaf1e2aa6e62b9701108c97a57c2540 100644 (file)
@@ -29,7 +29,7 @@
     <title>Description</title>
 
     <para><filename>systemd-getty-generator</filename> is a generator that automatically instantiates
-    <filename>serial-getty@.service</filename> on the kernel console(s), if they can function as ttys and are
+    <filename>serial-getty@.service</filename> on the kernel consoles, if they can function as ttys and are
     not provided by the virtual console subsystem. It will also instantiate
     <filename>serial-getty@.service</filename> instances for virtualizer consoles, if execution in a
     virtualized environment is detected. If execution in a container environment is detected, it will instead
index 5ad30c651121040f8a21b2268fcef166f6233e15..e54cd774ead850ad0b84acdc9c08d8a0cda5c159 100644 (file)
       <varlistentry>
         <term><option>--phase=</option><replaceable>PHASE</replaceable></term>
 
-        <listitem><para>Controls which boot phase(s) to calculate expected PCR 11 values for. This takes a
+        <listitem><para>Controls which boot phases to calculate expected PCR 11 values for. This takes a
         series of colon-separated strings that encode boot "paths" for entering a specific phase of the boot
         process. Each of the specified strings is measured by the
         <filename>systemd-pcrphase-initrd.service</filename> and
index f143208cb465b05e57c14551f9a4ccaad709f645..f8748bf700a3dd735caf2ecd1c602864a8a8fc5d 100644 (file)
         details on the various time units understood. The <varname>TriggerLimitBurst=</varname> setting takes
         a positive integer value and specifies the number of permitted activations per time interval, and
         defaults to 200. Set either to 0 to disable any form of trigger rate limiting. If the limit is hit,
-        the unit is placed into a failure mode, and will not watch the path(s) anymore until restarted. Note
+        the unit is placed into a failure mode, and will not watch the paths anymore until restarted. Note
         that this limit is enforced before the service activation is enqueued.</para></listitem>
       </varlistentry>
     </variablelist>
index 2b1c20b96e263cb92fd54609371f8e34f0ad5d92..2a0e40a17d2a4a6c3ab5f01bfc3246318d2e95c2 100644 (file)
@@ -852,7 +852,7 @@ RestrictNetworkInterfaces=~eth1</programlisting>
           <para>Control access to specific device nodes by the executed processes. Takes two space-separated
           strings: a device node specifier followed by a combination of <constant>r</constant>,
           <constant>w</constant>, <constant>m</constant> to control <emphasis>r</emphasis>eading,
-          <emphasis>w</emphasis>riting, or creation of the specific device node(s) by the unit
+          <emphasis>w</emphasis>riting, or creation of the specific device nodes by the unit
           (<emphasis>m</emphasis>knod), respectively. This functionality is implemented using eBPF
           filtering.</para>
 
index 98c8bf8c6d3c73f718625fb9f0565ec0cf5e10fc..8d8dd77689010ac1720978111e8956c1362e537a 100644 (file)
 
       <varlistentry>
         <term><varname>ExecCondition=</varname></term>
-        <listitem><para>Optional commands that are executed before the command(s) in <varname>ExecStartPre=</varname>.
+        <listitem><para>Optional commands that are executed before the commands in <varname>ExecStartPre=</varname>.
         Syntax is the same as for <varname>ExecStart=</varname>, except that multiple command lines are allowed and the
         commands are executed one after the other, serially.</para>
 
         commands are skipped and the unit is <emphasis>not</emphasis> marked as failed. However, if an
         <varname>ExecCondition=</varname> command exits with 255 or abnormally (e.g. timeout, killed by a
         signal, etc.), the unit will be considered failed (and remaining commands will be skipped). Exit code of 0 or
-        those matching <varname>SuccessExitStatus=</varname> will continue execution to the next command(s).</para>
+        those matching <varname>SuccessExitStatus=</varname> will continue execution to the next commands.</para>
 
         <para>The same recommendations about not running long-running processes in <varname>ExecStartPre=</varname>
         also applies to <varname>ExecCondition=</varname>. <varname>ExecCondition=</varname> will also run the commands
index a759707fec6670b1028c8b72ca7bad61e4eca8e7..643ff7d78f0e7a7d76610f2fddb7888d3c9971df 100644 (file)
@@ -220,9 +220,8 @@ tomorrow Pacific/Auckland → Thu 2012-11-23 19:00:00
     times starting with the start value, and continuing with all multiples of the repetition value relative
     to the start value, ending at the end value the latest.</para>
 
-    <para>A date specification may use <literal>~</literal> to indicate the
-    last day(s) in a month. For example, <literal>*-02~03</literal> means
-    "the third last day in February," and <literal>Mon *-05~07/1</literal>
+    <para>A date specification may use <literal>~</literal> to indicate the last day in a month. For example,
+    <literal>*-02~03</literal> means "the third last day in February," and <literal>Mon *-05~07/1</literal>
     means "the last Monday in May."</para>
 
     <para>The seconds component may contain decimal fractions both in
index 4ede01c82d7748d6d070710e2f577a6bdc18fd05..bd3bc33ab4d70eb2e6a3a66dd75b33aac24457c2 100644 (file)
@@ -418,8 +418,8 @@ L     /tmp/foobar -    -    -     -   /dev/null</programlisting>
           place of normal path names.</para>
 
           <para>The format of the argument field is <varname>[+-=][aAcCdDeijPsStTu]</varname>. The prefix
-          <varname>+</varname> (the default one) causes the attribute(s) to be added; <varname>-</varname>
-          causes the attribute(s) to be removed; <varname>=</varname> causes the attributes to be set exactly
+          <varname>+</varname> (the default one) causes the attributes to be added; <varname>-</varname>
+          causes the attributes to be removed; <varname>=</varname> causes the attributes to be set exactly
           as the following letters. The letters <literal>aAcCdDeijPsStTu</literal> select the new attributes
           for the files, see <citerefentry project='man-pages'><refentrytitle>chattr</refentrytitle>
           <manvolnum>1</manvolnum></citerefentry> for further information.
index 47556ee9b365a69623eca43895bcb5742de5802d..ee0658dc14c43c66640d53a98d73e8d9eb18de83 100644 (file)
       …
       </title>
 
-      <para><command>udevadm lock</command> takes an (advisory) exclusive lock(s) on a block device (or
-      multiple thereof), as per <ulink url="https://systemd.io/BLOCK_DEVICE_LOCKING">Locking Block Device
-      Access</ulink> and invokes a program with the lock(s) taken. When the invoked program exits the lock(s)
+      <para><command>udevadm lock</command> takes an (advisory) exclusive lock on a block device (or all
+      specified devices), as per <ulink url="https://systemd.io/BLOCK_DEVICE_LOCKING">Locking Block Device
+      Access</ulink> and invokes a program with the locks taken. When the invoked program exits the locks
       are automatically released and its return value is propagated as exit code of <command>udevadm
       lock</command>.</para>
 
           <term><option>--print</option></term>
           <term><option>-p</option></term>
 
-          <listitem><para>Instead of locking the specified device(s) and executing a command, just print the
-          device path(s) that would be locked, and execute no command. This command is useful to determine
+          <listitem><para>Instead of locking the specified devices and executing a command, just print the
+          device paths that would be locked, and execute no command. This command is useful to determine
           the "whole" block device in case a partition block device is specified. The devices will be sorted
           by their device node major number as primary ordering key and the minor number as secondary
           ordering key (i.e. they are shown in the order they'd be locked). Note that the number of lines
index f956340b7ed10182d37f42aae137e908d7d7d806..18e1938ab99e51f0ba3f50cc50022a3ab71181a7 100644 (file)
@@ -5,7 +5,7 @@
 {
     local -a _oomctl_cmds
     _oomctl_cmds=(
-        "dump:Show the current state of the cgroup(s) and system context(s)"
+        "dump:Show the current state of cgroups and system contexts"
         "help:Prints a short help text and exits."
     )
     if (( CURRENT == 1 )); then
index 2ce8a3a088863a68a6339c1c204fe8e0d3864a01..e305995cef7314bca2f0381c2684821d5629411f 100644 (file)
@@ -96,9 +96,9 @@ _arguments \
     '--recursive-errors=[When verifying a unit, control dependency verification]:MODE' \
     '--offline=[Perform a security review of the specified unit files]:BOOL:(yes no)' \
     '--threshold=[Set a value to compare the overall security exposure level with]: NUMBER' \
-    '--security-policy=[Allow user to use customized requirements to compare unit file(s) against]: PATH' \
+    '--security-policy=[Use customized requirements to compare unit files against]: PATH' \
     '--json=[Generate a JSON output of the security analysis table]:MODE:(pretty short off)' \
-    '--profile=[Include the specified profile in the security review of the unit(s)]: PATH' \
+    '--profile=[Include the specified profile in the security review of units]: PATH' \
     '--no-pager[Do not pipe output into a pager]' \
     '--man=[Do (not) check for existence of man pages]:BOOL:(yes no)' \
     '--generators=[Do (not) run unit generators]:BOOL:(yes no)' \
index 6187b90732333cc2b74a22cae886f0e5961bbaa5..26a88ee0c2e075b711d518ba31c7c5f4fb7e3437 100644 (file)
@@ -389,7 +389,7 @@ filesystem_includes = ['linux/magic.h',
 check_filesystems = find_program('check-filesystems.sh')
 r = run_command([check_filesystems, cpp, files('filesystems-gperf.gperf')] + filesystem_includes, check: false)
 if r.returncode() != 0
-        error('found unknown filesystem(s) defined in kernel headers:\n\n' + r.stdout())
+        error('Unknown filesystems defined in kernel headers:\n\n' + r.stdout())
         r.stdout()
 endif
 
index b89d593b7598b1aa60ad140882da5d7041cb3e32..cfc20fb613e552596264a84c8d55b3c4cf375398 100644 (file)
@@ -821,7 +821,7 @@ static void timer_time_change(Unit *u) {
 
         /* If we appear to have triggered in the future, the system clock must
          * have been set backwards.  So let's rewind our own clock and allow
-         * the future trigger(s) to happen again :).  Exactly the same as when
+         * the future triggers to happen again :).  Exactly the same as when
          * you start a timer unit with Persistent=yes. */
         ts = now(CLOCK_REALTIME);
         if (t->last_trigger.realtime > ts)
index b34c59c3eba9d0fb669c36eaee257f9f12f08f4f..3bc7de3d1c39f4c1ca2671fb0d4bc12e6f1a0cec 100644 (file)
@@ -772,7 +772,7 @@ typedef struct UnitVTable {
         /* True if queued jobs of this type should be GC'ed if no other job needs them anymore */
         bool gc_jobs;
 
-        /* True if systemd-oomd can monitor and act on this unit's recursive children's cgroup(s)  */
+        /* True if systemd-oomd can monitor and act on this unit's recursive children's cgroups  */
         bool can_set_managed_oom;
 } UnitVTable;
 
index d84a356663918123c1316a24680ec474ff755750..d9db35fbac9ec2adfb3e6eed4ae87afadb1804f8 100644 (file)
@@ -608,7 +608,7 @@ static int lease_parse_6rd(sd_dhcp_lease *lease, const uint8_t *option, size_t l
         memcpy(&prefix, option + 2, sizeof(struct in6_addr));
         (void) in6_addr_mask(&prefix, prefixlen);
 
-        /* 6rdBRIPv4Address: One or more IPv4 addresses of the 6rd Border Relay(s) for a given 6rd domain. */
+        /* 6rdBRIPv4Address: One or more IPv4 addresses of the 6rd Border Relays for a given 6rd domain. */
         n_br_addresses = (len - 2 - sizeof(struct in6_addr)) / sizeof(struct in_addr);
         br_addresses = newdup(struct in_addr, option + 2 + sizeof(struct in6_addr), n_br_addresses);
         if (!br_addresses)
index 13d6734a02ef54ba36189f8342c8958cd081d164..4bf798a9eb01162b71dc837655a01f2882c29cb6 100644 (file)
@@ -123,10 +123,10 @@ int manager_genl_process_nl80211_config(sd_netlink *genl, sd_netlink_message *me
         }
         if (r >= 0) {
                 if (len == 0) {
-                        log_link_debug(link, "nl80211: received SSID has zero length, ignoring the received SSID: %m");
+                        log_link_debug(link, "nl80211: received SSID has zero length, ignoring it: %m");
                         ssid = mfree(ssid);
                 } else if (strlen_ptr(ssid) != len) {
-                        log_link_debug(link, "nl80211: received SSID contains NUL character(s), ignoring the received SSID.");
+                        log_link_debug(link, "nl80211: received SSID contains NUL characters, ignoring it.");
                         ssid = mfree(ssid);
                 }
         }
index 51bec79ba85b5c97136ec7c5c299a44f2f3b4f4e..4a43807b879408d0336fd010fe6bab47c339e209 100644 (file)
@@ -403,7 +403,7 @@ static int monitor_swap_contexts_handler(sd_event_source *s, uint64_t usec, void
                 if (r == -ENOMEM)
                         return log_oom();
                 if (r < 0)
-                        log_notice_errno(r, "Failed to kill any cgroup(s) based on swap: %m");
+                        log_notice_errno(r, "Failed to kill any cgroups based on swap: %m");
                 else {
                         if (selected && r > 0) {
                                 log_notice("Killed %s due to memory used (%"PRIu64") / total (%"PRIu64") and "
@@ -520,7 +520,7 @@ static int monitor_memory_pressure_contexts_handler(sd_event_source *s, uint64_t
                         if (r == -ENOMEM)
                                 return log_oom();
                         if (r < 0)
-                                log_notice_errno(r, "Failed to kill any cgroup(s) under %s based on pressure: %m", t->path);
+                                log_notice_errno(r, "Failed to kill any cgroups under %s based on pressure: %m", t->path);
                         else {
                                 /* Don't act on all the high pressure cgroups at once; return as soon as we kill one.
                                  * If r == 0 then it means there were not eligible candidates, the candidate cgroup
index bc51e69f85bc0149ef0f0cc882b07d999df45bd9..e39b2f754bbe2dcd5a25d79afea4e8caee756864 100644 (file)
@@ -449,7 +449,7 @@ int ethtool_set_wol(
                 _cleanup_free_ char *str = NULL;
 
                 (void) wol_options_to_string_alloc(wolopts & ~ecmd.supported, &str);
-                log_debug("Network interface %s does not support requested Wake on LAN option(s) \"%s\", ignoring.",
+                log_debug("Network interface %s does not support requested Wake on LAN options \"%s\", ignoring.",
                           ifname, strna(str));
 
                 wolopts &= ecmd.supported;
index 3a7c2774b6285c2a77b03acf1e166d81551fe956..c88a060dbea0ac0e18b07cafd0f73be21678c9d2 100644 (file)
@@ -142,7 +142,7 @@ int table_print_with_pager(Table *t, JsonFormatFlags json_format_flags, PagerFla
 int table_set_json_field_name(Table *t, size_t column, const char *name);
 
 #define table_log_add_error(r) \
-        log_error_errno(r, "Failed to add cell(s) to table: %m")
+        log_error_errno(r, "Failed to add cells to table: %m")
 
 #define table_log_print_error(r) \
         log_error_errno(r, "Failed to print table: %m")
index d32bb5d704ae6f88fced41a47c77804319df9454..d4e6dcac07265f3266486dd53386c44b3550c42c 100644 (file)
@@ -60,10 +60,10 @@ int wifi_get_interface(sd_netlink *genl, int ifindex, enum nl80211_iftype *ret_i
                 return log_debug_errno(r, "Failed to get NL80211_ATTR_SSID attribute: %m");
         if (r >= 0) {
                 if (len == 0) {
-                        log_debug("SSID has zero length, ignoring the received SSID.");
+                        log_debug("SSID has zero length, ignoring it.");
                         ssid = mfree(ssid);
                 } else if (strlen_ptr(ssid) != len) {
-                        log_debug("SSID contains NUL character(s), ignoring the received SSID.");
+                        log_debug("SSID contains NUL characters, ignoring it.");
                         ssid = mfree(ssid);
                 }
         }
index a363d7a494a977d211f9e3f97510e45c20f4aa1f..fe47f73d4a7231ccfbcafb8c74a2db318b2a0c5d 100644 (file)
@@ -367,7 +367,7 @@ static int run_editor(char **paths) {
                         }
                 }
 
-                log_error("Cannot edit unit(s), no editor available. Please set either $SYSTEMD_EDITOR, $EDITOR or $VISUAL.");
+                log_error("Cannot edit units, no editor available. Please set either $SYSTEMD_EDITOR, $EDITOR or $VISUAL.");
                 _exit(EXIT_FAILURE);
         }
 
index 6afec0cda2fae6db391c8f5eb4ea6c4f4295d6f7..63b0c4dde12e602e49e430329659dd406baea4bc 100644 (file)
@@ -1065,8 +1065,8 @@ static int help(int argc, char *argv[], void *userdata) {
                "\nCommands:\n"
                "  user [USER…]               Inspect user\n"
                "  group [GROUP…]             Inspect group\n"
-               "  users-in-group [GROUP…]    Show users that are members of specified group(s)\n"
-               "  groups-of-user [USER…]     Show groups the specified user(s) is a member of\n"
+               "  users-in-group [GROUP…]    Show users that are members of specified groups\n"
+               "  groups-of-user [USER…]     Show groups the specified users are members of\n"
                "  services                   Show enabled database services\n"
                "  ssh-authorized-keys USER   Show SSH authorized keys for user\n"
                "\nOptions:\n"
index a6f2f45b248cbb7dba6e828515bd5252a3f17438..e3de69d0f4d66b9dd273c6e0c74f0a6915f8ad91 100644 (file)
@@ -85,7 +85,7 @@ template:
 zone:
     # Create our own DNSSEC-aware root zone, so we can test the whole chain of
     # trust. This needs a ZSK/KSK keypair to be generated before running knot +
-    # adding the respective key(s) to resolved's trust anchor store (see the
+    # adding the respective keys to resolved's trust anchor store (see the
     # test script for the setup steps).
     - domain: .
       dnssec-policy: manual
index 2f638d158a6e602cea1b7be2bd761eeb93248607..2f7614428cc67635559cf5015a0bc6428db4f71b 100755 (executable)
@@ -827,7 +827,7 @@ class Utilities():
         return False
 
     def wait_online(self, links_with_operstate, timeout='20s', bool_any=False, ipv4=False, ipv6=False, setup_state='configured', setup_timeout=5):
-        """Wait for the link(s) to reach the specified operstate and/or setup state.
+        """Wait for the links to reach the specified operstate and/or setup state.
 
         This is similar to wait_operstate() but can be used for multiple links,
         and it also calls systemd-networkd-wait-online to wait for the given operstate.
@@ -843,10 +843,10 @@ class Utilities():
         Set 'ipv4' or 'ipv6' to True to wait for IPv4 address or IPv6 address, respectively, of each of the given links.
         This is applied only for the operational state 'degraded' or above.
 
-        Note that this function waits for the link(s) to reach *or exceed* the given operstate.
+        Note that this function waits for the links to reach *or exceed* the given operstate.
         However, the setup_state, if specified, must be matched *exactly*.
 
-        This returns if the link(s) reached the requested operstate/setup_state; otherwise it
+        This returns if the links reached the requested operstate/setup_state; otherwise it
         raises CalledProcessError or fails test assertion.
         """
         args = wait_online_cmd + [f'--timeout={timeout}'] + [f'--interface={link}' for link in links_with_operstate]
index 4b3b409760580b8ad4efe7220f9add61ab03d895..1d4bf3aaaafd9ed541a29115d5459e8e43aa9ccb 100755 (executable)
@@ -72,7 +72,7 @@ systemctl stop --job-mode=replace-irreversibly unstoppable.service
 # Shutdown of the container/VM will hang if not.
 systemctl start unstoppable.service
 
-# Test waiting for a started unit(s) to terminate again
+# Test waiting for a started units to terminate again
 cat <<EOF >/run/systemd/system/wait2.service
 [Unit]
 Description=Wait for 2 seconds
index e6540b5de4701e31776a830ea840babf324d6609..9425169c7552d2613285938d6000566c4f1fe53f 100644 (file)
@@ -21,7 +21,7 @@
 # upon a normal shutdown (shutdown, reboot, halt).
 #
 # To configure the kernel parameters, uncomment the appropriate
-# line(s) below. The value written is either 'Y' to enable the
+# lines below. The value written is either 'Y' to enable the
 # kernel parameter, or 'N' to disable the kernel parameter.
 #
 # After making a change to this file, do: