aboutsummaryrefslogtreecommitdiff
path: root/test/sam/addresses
diff options
context:
space:
mode:
Diffstat (limited to 'test/sam/addresses')
-rw-r--r--test/sam/addresses/columns.cmd4
-rw-r--r--test/sam/addresses/columns.in5
-rw-r--r--test/sam/addresses/first-last.cmd4
-rw-r--r--test/sam/addresses/first-last.in4
-rw-r--r--test/sam/addresses/lines.cmd6
-rw-r--r--test/sam/addresses/lines.in20
-rw-r--r--test/sam/addresses/second.cmd4
-rw-r--r--test/sam/addresses/second.in4
8 files changed, 51 insertions, 0 deletions
diff --git a/test/sam/addresses/columns.cmd b/test/sam/addresses/columns.cmd
new file mode 100644
index 0000000..b00f736
--- /dev/null
+++ b/test/sam/addresses/columns.cmd
@@ -0,0 +1,4 @@
+,x/def|uvw/ {
+ g/def/ -/^/+#10 i/|/
+ g/uvw/ +/$/-#10 i/|/
+}
diff --git a/test/sam/addresses/columns.in b/test/sam/addresses/columns.in
new file mode 100644
index 0000000..34c740b
--- /dev/null
+++ b/test/sam/addresses/columns.in
@@ -0,0 +1,5 @@
+--
+abcdefghijklmnopqrstuvwxyz
+--
+abcdefghijklmnopqrstuvwxyz
+--
diff --git a/test/sam/addresses/first-last.cmd b/test/sam/addresses/first-last.cmd
new file mode 100644
index 0000000..ff1d6fc
--- /dev/null
+++ b/test/sam/addresses/first-last.cmd
@@ -0,0 +1,4 @@
+0/Emacs/,$-/Emacs/ {
+ i/>>/
+ a/<</
+}
diff --git a/test/sam/addresses/first-last.in b/test/sam/addresses/first-last.in
new file mode 100644
index 0000000..02d5652
--- /dev/null
+++ b/test/sam/addresses/first-last.in
@@ -0,0 +1,4 @@
+This manual is organized in a rather haphazard manner. The first
+several sections were written hastily in an attempt to provide a
+general introduction to the commands in Emacs and to try to show
+the method in the madness that is the Emacs command structure.
diff --git a/test/sam/addresses/lines.cmd b/test/sam/addresses/lines.cmd
new file mode 100644
index 0000000..20a62c6
--- /dev/null
+++ b/test/sam/addresses/lines.cmd
@@ -0,0 +1,6 @@
+10,10 c/--\n/
+16,17 {
+ i/</
+ a/>/
+}
+20d
diff --git a/test/sam/addresses/lines.in b/test/sam/addresses/lines.in
new file mode 100644
index 0000000..0ff3bbb
--- /dev/null
+++ b/test/sam/addresses/lines.in
@@ -0,0 +1,20 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
diff --git a/test/sam/addresses/second.cmd b/test/sam/addresses/second.cmd
new file mode 100644
index 0000000..525bfa1
--- /dev/null
+++ b/test/sam/addresses/second.cmd
@@ -0,0 +1,4 @@
+0/Emacs/+// {
+ i/>>/
+ a/<</
+}
diff --git a/test/sam/addresses/second.in b/test/sam/addresses/second.in
new file mode 100644
index 0000000..02d5652
--- /dev/null
+++ b/test/sam/addresses/second.in
@@ -0,0 +1,4 @@
+This manual is organized in a rather haphazard manner. The first
+several sections were written hastily in an attempt to provide a
+general introduction to the commands in Emacs and to try to show
+the method in the madness that is the Emacs command structure.