diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-02 23:22:42 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-05 14:04:26 +0100 |
| commit | ef5ea09c8a7f608af7bff5574afae672e3f0adfb (patch) | |
| tree | d6076e53e71e67f091574507762e8a12d4a2d57d /sam/commands | |
| parent | 87d4e9e152690360e9167af1d59cc9007d195f16 (diff) | |
| download | vis-ef5ea09c8a7f608af7bff5574afae672e3f0adfb.tar.gz vis-ef5ea09c8a7f608af7bff5574afae672e3f0adfb.tar.xz | |
test/sam: add new test cases
Diffstat (limited to 'sam/commands')
| -rw-r--r-- | sam/commands/filter-capitalize.cmd | 1 | ||||
| l--------- | sam/commands/filter-capitalize.in | 1 | ||||
| -rw-r--r-- | sam/commands/loop-lines1.cmd | 4 | ||||
| -rw-r--r-- | sam/commands/loop-lines1.in | 10 | ||||
| -rw-r--r-- | sam/commands/loop-lines2.cmd | 4 | ||||
| -rw-r--r-- | sam/commands/loop-lines2.in | 10 |
6 files changed, 30 insertions, 0 deletions
diff --git a/sam/commands/filter-capitalize.cmd b/sam/commands/filter-capitalize.cmd new file mode 100644 index 0000000..ca9d989 --- /dev/null +++ b/sam/commands/filter-capitalize.cmd @@ -0,0 +1 @@ +,x/[a-zA-Z]+/ | tr a-z A-Z
\ No newline at end of file diff --git a/sam/commands/filter-capitalize.in b/sam/commands/filter-capitalize.in new file mode 120000 index 0000000..32d46ee --- /dev/null +++ b/sam/commands/filter-capitalize.in @@ -0,0 +1 @@ +../README.md
\ No newline at end of file diff --git a/sam/commands/loop-lines1.cmd b/sam/commands/loop-lines1.cmd new file mode 100644 index 0000000..88ca881 --- /dev/null +++ b/sam/commands/loop-lines1.cmd @@ -0,0 +1,4 @@ +,x/^.*$/ a,\\, +,x/$/ c/#/ +,y/\n/ a/*/ +,x a/--/ diff --git a/sam/commands/loop-lines1.in b/sam/commands/loop-lines1.in new file mode 100644 index 0000000..f00c965 --- /dev/null +++ b/sam/commands/loop-lines1.in @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 diff --git a/sam/commands/loop-lines2.cmd b/sam/commands/loop-lines2.cmd new file mode 100644 index 0000000..a773f97 --- /dev/null +++ b/sam/commands/loop-lines2.cmd @@ -0,0 +1,4 @@ +,x/^.*$/ i,//, +,x/^/ c/#/ +,y/\n/ i/*/ +,x i/--/ diff --git a/sam/commands/loop-lines2.in b/sam/commands/loop-lines2.in new file mode 100644 index 0000000..f00c965 --- /dev/null +++ b/sam/commands/loop-lines2.in @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 |
