Include support for files with spaces properly.

main
sigonasr2 3 years ago
parent 93277d7051
commit 22d45600fe
  1. 5
      run.sh
  2. 4
      run.sh.bak

@ -1,4 +1,5 @@
npm start & npm start &
cd src/backend cd src/backend
read -e -p "Provide Log file: " log for fname in "$@"; do
node logreader.js $log node logreader.js "$fname"
done

@ -1,3 +1,5 @@
npm start & npm start &
cd src/backend cd src/backend
node logreader.js $1 for fname in "$@"; do
node logreader.js $fname
done
Loading…
Cancel
Save