repo.or.cz
/
iomenu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Much stronger scripts, with shellcheck and () for function body
[iomenu.git]
/
io-abduco
blob
84d8ee7040324d1e1c8373eeea95d85837179815
1
# Prompt for an abduco session to attach to
2
3
name="$(
4
printf '#%s' "$(
5
abduco | sed -r 's/(.*)\t(.*)/\2 # \1/'
6
)" | iomenu -s '#'
7
)"
8
9
if [ -z "$ABDUCO" ] && [ "$name" ]
10
then
11
TERM=screen ABDUCO="$name" exec abduco -A "$name" io-run
12
fi