vis

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

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

commit 221906ec09d2bd40616e05096dc0bc73606545b1
parent eae774907a4933b4f1844a6ac5c3e316f4388eb9
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat,  5 Nov 2016 14:34:37 +0100

test/sam: few new tests

Diffstat:
Asam/addresses/columns.cmd | 1+
Asam/addresses/columns.in | 5+++++
Asam/commands/pipe-in.cmd | 3+++
Asam/commands/pipe-in.in | 10++++++++++
4 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/sam/addresses/columns.cmd b/sam/addresses/columns.cmd @@ -0,0 +1 @@ +,x/def/ -/^/+#10 i/|/ diff --git a/sam/addresses/columns.in b/sam/addresses/columns.in @@ -0,0 +1,5 @@ +-- +abcdefghijklmnopqrstuvwxyz +-- +abcdefghijklmnopqrstuvwxyz +-- diff --git a/sam/commands/pipe-in.cmd b/sam/commands/pipe-in.cmd @@ -0,0 +1,3 @@ +1 < echo Replace first line +0 < echo Before first line +$ < echo New Last line diff --git a/sam/commands/pipe-in.in b/sam/commands/pipe-in.in @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10