aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 12:57:32 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 12:57:32 +0100
commit9426b3700ec7b8ebc288c51efc6e185db7fd7e27 (patch)
tree69f36264eeb09478f3a64ffbeb00e35385dbd032 /sshexec.c
parentFix parsing of options with arguments (diff)
downloadsshexec-9426b3700ec7b8ebc288c51efc6e185db7fd7e27.tar.gz
sshexec-9426b3700ec7b8ebc288c51efc6e185db7fd7e27.tar.bz2
sshexec-9426b3700ec7b8ebc288c51efc6e185db7fd7e27.tar.xz
documentation text fixesHEAD1.2.2master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--sshexec.c10
1 files changed, 5 insertions, 5 deletions
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];