vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit a2f9f90358df052fc62453e50804d9f335e13e08
parent 879da4e0bfcc56b3ea0c3632feaa014ab2fb615f
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 17 Nov 2016 10:36:07 +0100

test/vim: remove trailing white spaces after pre-processing keys file

Analogous to the previous commit.

Diffstat:
Mvim/test.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vim/test.sh b/vim/test.sh @@ -24,7 +24,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>:wq! $OUT<Enter>"; } | cpp -P 2>/dev/null | ../util/keys | $EDITOR "$t.in" 2> /dev/null + { cat "$t.keys"; printf "<Escape>:wq! $OUT<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" 2> /dev/null if [ "$e" = "$VIM" ]; then if [ -e "$REF" ]; then if cmp -s "$REF" "$OUT"; then