diff options
author | epoch <epoch@hacking.allowed.org> | 2018-03-29 18:20:49 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-03-29 18:20:49 -0500 |
commit | 52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a (patch) | |
tree | fa58f2fb8bcdf276630146f5ffdb963083201c29 /examples/filebrowser/backend-ps.sh | |
parent | 114f10e727bd9fa75d0810cc593ba620d769a03f (diff) | |
download | hackvr-52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a.tar.gz hackvr-52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a.zip |
moved filebrowser stuff to examples dir
Diffstat (limited to 'examples/filebrowser/backend-ps.sh')
-rwxr-xr-x | examples/filebrowser/backend-ps.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/filebrowser/backend-ps.sh b/examples/filebrowser/backend-ps.sh new file mode 100755 index 0000000..b06ff99 --- /dev/null +++ b/examples/filebrowser/backend-ps.sh @@ -0,0 +1,12 @@ +#!/bin/bash +#give a list of files. +#wait for a selection on stdin +#cd or start that file +#repeat. +while true;do +#not sure why this needs to be printed to show up every time. + ps | tail -n+2 + read -r selection + echo $selection + echo +done |