iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8de1e14
)
minor fix
author
Ian Kelling
<ian@iankelling.org>
Mon, 17 Jun 2024 00:11:19 +0000
(20:11 -0400)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 17 Jun 2024 00:11:19 +0000
(20:11 -0400)
brc2
patch
|
blob
|
history
diff --git
a/brc2
b/brc2
index 6f3eb8be604d875b422f0aed1739b11bc4fbd3df..d46028dfddb744c985d3b90658ea963047787180 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-2882,8
+2882,8
@@
EOF
tmpf=$(mktemp)
{
printf "%s" "Host * "
tmpf=$(mktemp)
{
printf "%s" "Host * "
- sed -n '/^Host /h;/^IdentityFile .*\/home/{g;s/^Host//;s/ / !/gp}' /p/c/subdir_files/.ssh/config-static | tr '\n' ' '
- echo
+ sed -n '/^Host /h;/^IdentityFile .*\/home/{g;s/^Host//;s/ / !/gp}' /p/c/subdir_files/.ssh/config-static | tr '\n' ' '
\
+ | sed -r 's/ *$/\n/'
echo "IdentityFile ~/.ssh/work"
} >$tmpf
cedit -e work-identity /p/c/subdir_files/.ssh/config-static <$tmpf
echo "IdentityFile ~/.ssh/work"
} >$tmpf
cedit -e work-identity /p/c/subdir_files/.ssh/config-static <$tmpf