From 52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 29 Mar 2018 18:20:49 -0500 Subject: moved filebrowser stuff to examples dir --- examples/filebrowser/backend-ps.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 examples/filebrowser/backend-ps.sh (limited to 'examples/filebrowser/backend-ps.sh') 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 -- cgit v1.2.3