vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit da54c111993a895782881f45d1593a9859254c62 parent bdd1b07844c087e2a49db3990bb68666db54ec7b Author: Marc André Tanner <mat@brain-dump.org> Date: Mon, 21 Nov 2016 14:22:40 +0100 test/sam: apply commands to complete file Diffstat:
| M | sam/test.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sam/test.sh b/sam/test.sh @@ -61,7 +61,7 @@ for t in $TESTS; do printf "Running test %s with vis ... " "$t" - $VIS "+{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" 2>/dev/null + $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" 2>/dev/null if [ $? -ne 0 -o ! -e "$VIS_OUT" ]; then printf "ERROR\n" elif cmp -s "$REF" "$VIS_OUT"; then