From e95b150ec3cd2c173f6fabb3055a28a6962f61d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 5 Nov 2016 14:34:37 +0100 Subject: test/sam: few new tests --- sam/addresses/columns.cmd | 1 + sam/addresses/columns.in | 5 +++++ sam/commands/pipe-in.cmd | 3 +++ sam/commands/pipe-in.in | 10 ++++++++++ 4 files changed, 19 insertions(+) create mode 100644 sam/addresses/columns.cmd create mode 100644 sam/addresses/columns.in create mode 100644 sam/commands/pipe-in.cmd create mode 100644 sam/commands/pipe-in.in diff --git a/sam/addresses/columns.cmd b/sam/addresses/columns.cmd new file mode 100644 index 0000000..80110dc --- /dev/null +++ b/sam/addresses/columns.cmd @@ -0,0 +1 @@ +,x/def/ -/^/+#10 i/|/ diff --git a/sam/addresses/columns.in b/sam/addresses/columns.in new file mode 100644 index 0000000..34c740b --- /dev/null +++ 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 new file mode 100644 index 0000000..054bf73 --- /dev/null +++ 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 new file mode 100644 index 0000000..f00c965 --- /dev/null +++ b/sam/commands/pipe-in.in @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 -- cgit v1.2.3