[openssh-commits] [openssh] branch master updated: upstream: avoid use of paste(1); helps portable
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jun 15 16:26:59 AEST 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 860ed0415 upstream: avoid use of paste(1); helps portable
860ed0415 is described below
commit 860ed04158f2c6dc870ea7c98c23dcafc7772dd4
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Jun 15 06:24:20 2026 +0000
upstream: avoid use of paste(1); helps portable
OpenBSD-Regress-ID: ce3ad41b34af9fc16af83e4711a62231ee52a95c
---
regress/agent.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regress/agent.sh b/regress/agent.sh
index 8a008d2e1..61a280640 100644
--- a/regress/agent.sh
+++ b/regress/agent.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: agent.sh,v 1.24 2026/06/14 04:08:05 djm Exp $
+# $OpenBSD: agent.sh,v 1.25 2026/06/15 06:24:20 djm Exp $
# Placed in the Public Domain.
tid="simple agent test"
@@ -150,7 +150,7 @@ for t in ${SSH_KEYTYPES}; do
trace "connect via agent using $t key"
# Accept both keys and certs.
BASE=`echo $t | cut -d '@' -f1`
- ACCEPT=`$SSH -Q key | grep "^$BASE" | paste -sd , -`
+ ACCEPT=`$SSH -Q key | grep "^$BASE" | xargs echo | sed 's/ /,/g'`
grep -vi PubkeyAcceptedAlgorithms $OBJ/sshd_proxy.bak > $OBJ/sshd_proxy
echo "PubkeyAcceptedAlgorithms=+$ACCEPT" >> $OBJ/sshd_proxy
grep -vi PubkeyAcceptedAlgorithms $OBJ/ssh_proxy.bak > $OBJ/ssh_proxy
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list