From 6c84566aad08dcfd49482e07543487ece4e23261 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Feb 2025 17:17:30 +0100 Subject: Add asis and nasis options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 71bf2af..b87c6d3 100644 --- a/README +++ b/README @@ -3,8 +3,9 @@ NAME SYNOPSIS sshexec [{ [ssh=ssh-command] [dir=directory] [cd=(strict|lax)] - [[fd]{>,>>,>|,<,<>}[&]=file] }] [ssh-option] ... - destination command [argument] ... + [[fd]{>,>>,>|,<,<>}[&]=file] [asis=asis-marker + [nasis=asis-count]] }] [ssh-option] ... destination + command [argument] ... DESCRIPTION The sshexec utility is a wrapper for SSH that makes it easy to @@ -103,6 +104,17 @@ OPTIONS Close the file descriptor fd. (Default fd is 0 (standard input).) + asis=asis-marker + Any argument equal to asis-marker will be skipped over + and instead the next argument (regardless of whether + it to is equal to asis-marker) will be interpreted as + raw shell code string that shall be inserted without + escaping. + + masis=asis-count + If specified, asis-marker shall only have it's specified + affect up to asis-count times. + OPERANDS The following operands are supported: -- cgit v1.2.3-70-g09d2