diff --git a/bin/fsw b/bin/fsw index 08331cd..fd40d37 100755 --- a/bin/fsw +++ b/bin/fsw @@ -82,6 +82,6 @@ inotifywait -m -e "${FSW_EVENTS}" -r "${DIRS[@]}" 2>&1 \ export FSW_EVENT="$events $dir$filename" dbg "Event:\n $(date)\n $FSW_PATH\n $FILTER\n $FSW_EVENT\n $dir $events $filename\n ${SHELL_COMMAND}" dbg "Filtered Event: $(<<< "$FSW_PATH" grep -P "$FILTER")" - <<< "$FSW_PATH" grep -P "$FILTER" > /dev/null 2>&1 && eval "${SHELL_COMMAND}" + <<< "$FSW_PATH" grep -P "$FILTER" > /dev/null 2>&1 && eval "${SHELL_COMMAND}" &> /dev/null fi done diff --git a/bin/linewise b/bin/linewise index 50711ad..2b337f7 100755 --- a/bin/linewise +++ b/bin/linewise @@ -2,7 +2,7 @@ if [[ ! -z "${1+x}" ]]; then while read r; do - <<< "${r}" "$1" + <<< "${r}" "$@" done else echo "No reader program provided." diff --git a/bin/pipeline b/bin/pipeline index 0f589f5..1d53fd7 100755 --- a/bin/pipeline +++ b/bin/pipeline @@ -49,7 +49,6 @@ else fi job="call jobstart(['inotifywait', '-m', '-e', 'close_write', '${out}'], {'on_stdout':{j,d,e->execute('checktime')}})" -echo "$job" # this will only autosave (and therefore autoreload) for the out buffer (since # it was opened last) - autosaving (and therefore autorunning) is potentially