From 9426b3700ec7b8ebc288c51efc6e185db7fd7e27 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 12:57:32 +0100 Subject: documentation text fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sshexec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sshexec.c') diff --git a/sshexec.c b/sshexec.c index ff7efe0..1efd8de 100644 --- a/sshexec.c +++ b/sshexec.c @@ -61,7 +61,7 @@ struct redirection { /** - * Command being constructor for ssh(1) + * Command being constructed for ssh(1) */ static char *command = NULL; @@ -191,7 +191,7 @@ build_command_escape(const char *arg) return; } - /* If the string only contains safe characters, add it would escaping */ + /* If the string only contains safe characters, add it without escaping */ while (IS_ALWAYS_SAFE(arg[n])) n += 1; if (!arg[n]) { @@ -201,10 +201,10 @@ build_command_escape(const char *arg) /* Escape string, using quoted printf(1) statement */ build_command_asis("\"$(printf '"); - goto start; /* already have a count of safe initial characters, let's add them immidately */ + goto start; /* already have a count of safe initial characters, let's add them immediately */ while (*arg) { - /* Since process substation removes at least one terminal - * LF, we must hold of on adding them */ + /* Since process substitution removes at least one terminal + * LF, we must hold off on adding them */ if (*arg == '\n') { lfs += 1; arg = &arg[1]; -- cgit v1.2.3-70-g09d2