revert emacs code, omit newline in args file so languages stop seeing a blank arg

This commit is contained in:
Brian Seymour 2021-01-21 19:38:00 -06:00
parent 9237806dee
commit 6d69a1b189
2 changed files with 2 additions and 6 deletions

View file

@ -1,8 +1,4 @@
#!/bin/bash
cd /tmp/$2
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
timeout -s KILL 3 emacs -Q --script code.code < stdin.stdin
else
timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin
fi
timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin