vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 7715541c4e8970e9227af74f30be02b0988e896e parent 00eea1ed3eefa016852c9a063e10b56511a53d48 Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 17 Nov 2016 12:07:15 +0100 test/vim: redirect both stdout and stderr to /dev/null This should make the list of tests more readable. Diffstat:
| M | vim/test.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/test.sh b/vim/test.sh @@ -26,7 +26,7 @@ for t in $TESTS; do printf "Running test %s with %s ... " "$t" "$e" rm -f "$OUT" "$ERR" [ "$e" = "$VIM" ] && EDITOR="$VIM -u NONE -U NONE -N -i NONE" - { cat "$t.keys"; printf "<Escape>:w! $OUT<Enter>:qall!<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" 2> /dev/null + { cat "$t.keys"; printf "<Escape>:w! $OUT<Enter>:qall!<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" >/dev/null 2>&1 if [ "$e" = "$VIM" ]; then if [ -e "$REF" ]; then if cmp -s "$REF" "$OUT"; then