diff options
Diffstat (limited to 'screen-r.in')
-rwxr-xr-x | screen-r.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/screen-r.in b/screen-r.in new file mode 100755 index 0000000..4306949 --- /dev/null +++ b/screen-r.in @@ -0,0 +1,16 @@ +#!/bin/sh + +# part of even-more-utils, version #VERSION# + +# iterate `screen -r` through all screen sessions + +for s in $( + screen -list "$@" \ + | sed ' + s/^\s\+\(\S\+\)\s.*$/\1/ + t + d + ' +); do + screen -r "$s" +done |