summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2006-11-06 15:05:03 +0000
committerdds <dds@FreeBSD.org>2006-11-06 15:05:03 +0000
commitc1bff9358c128fe87054c69741a3ab51f89293ce (patch)
treed13a38d90453c7b4c50f1191705a99484c0e9bf7 /tools
parent5f9d5575d301382ad3455aee0e8fda672e2d8237 (diff)
downloadFreeBSD-src-c1bff9358c128fe87054c69741a3ab51f89293ce.zip
FreeBSD-src-c1bff9358c128fe87054c69741a3ab51f89293ce.tar.gz
Add the examples from the manual page.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/usr.bin/jot/regress.ascii.outbin0 -> 256 bytes
-rw-r--r--tools/regression/usr.bin/jot/regress.block.out512
-rw-r--r--tools/regression/usr.bin/jot/regress.ed.out30
-rw-r--r--tools/regression/usr.bin/jot/regress.grep.out1
-rw-r--r--tools/regression/usr.bin/jot/regress.n21.out21
-rw-r--r--tools/regression/usr.bin/jot/regress.sh12
-rw-r--r--tools/regression/usr.bin/jot/regress.stutter.out19
-rw-r--r--tools/regression/usr.bin/jot/regress.tabs.out1
-rw-r--r--tools/regression/usr.bin/jot/regress.xaa.out26
-rw-r--r--tools/regression/usr.bin/jot/regress.yes.out10
10 files changed, 630 insertions, 2 deletions
diff --git a/tools/regression/usr.bin/jot/regress.ascii.out b/tools/regression/usr.bin/jot/regress.ascii.out
new file mode 100644
index 0000000..abcfb84
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.ascii.out
Binary files differ
diff --git a/tools/regression/usr.bin/jot/regress.block.out b/tools/regression/usr.bin/jot/regress.block.out
new file mode 100644
index 0000000..a6f4536
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.block.out
@@ -0,0 +1,512 @@
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
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x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
+x
diff --git a/tools/regression/usr.bin/jot/regress.ed.out b/tools/regression/usr.bin/jot/regress.ed.out
new file mode 100644
index 0000000..d82a36d
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.ed.out
@@ -0,0 +1,30 @@
+2s/old/new/
+7s/old/new/
+12s/old/new/
+17s/old/new/
+22s/old/new/
+27s/old/new/
+32s/old/new/
+37s/old/new/
+42s/old/new/
+47s/old/new/
+52s/old/new/
+57s/old/new/
+62s/old/new/
+67s/old/new/
+72s/old/new/
+77s/old/new/
+82s/old/new/
+87s/old/new/
+92s/old/new/
+97s/old/new/
+102s/old/new/
+107s/old/new/
+112s/old/new/
+117s/old/new/
+122s/old/new/
+127s/old/new/
+132s/old/new/
+137s/old/new/
+142s/old/new/
+147s/old/new/
diff --git a/tools/regression/usr.bin/jot/regress.grep.out b/tools/regression/usr.bin/jot/regress.grep.out
new file mode 100644
index 0000000..b6578ef
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.grep.out
@@ -0,0 +1 @@
+................................................................................
diff --git a/tools/regression/usr.bin/jot/regress.n21.out b/tools/regression/usr.bin/jot/regress.n21.out
new file mode 100644
index 0000000..89b0879
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.n21.out
@@ -0,0 +1,21 @@
+-1.00
+-0.90
+-0.80
+-0.70
+-0.60
+-0.50
+-0.40
+-0.30
+-0.20
+-0.10
+-0.00
+0.10
+0.20
+0.30
+0.40
+0.50
+0.60
+0.70
+0.80
+0.90
+1.00
diff --git a/tools/regression/usr.bin/jot/regress.sh b/tools/regression/usr.bin/jot/regress.sh
index 2728d54..1f5746e 100644
--- a/tools/regression/usr.bin/jot/regress.sh
+++ b/tools/regression/usr.bin/jot/regress.sh
@@ -1,6 +1,6 @@
# $FreeBSD$
-echo 1..28
+echo 1..36
REGRESSION_START($1)
@@ -31,6 +31,14 @@ REGRESSION_TEST(`hddd2', `jot 30 - - -')
REGRESSION_TEST(`dhhh2', `jot - 20 160 2')
REGRESSION_TEST(`dhhd2', `jot - 20 160 -')
REGRESSION_TEST(`ddhh2', `jot - - 160 2')
-REGRESSION_TEST(`ddhd2', `jot - - 160 -')
+REGRESSION_TEST(`n21', `jot 21 -1 1.00')
+REGRESSION_TEST(`ascii', `jot -c 128 0')
+REGRESSION_TEST(`xaa', `jot -w xa%c 26 a')
+REGRESSION_TEST(`yes', `jot -b yes 10')
+REGRESSION_TEST(`ed', `jot -w %ds/old/new/ 30 2 - 5')
+REGRESSION_TEST(`stutter', `jot - 9 0 -.5')
+REGRESSION_TEST(`block', `jot -b x 512')
+REGRESSION_TEST(`tabs', `jot -s, - 10 132 4')
+REGRESSION_TEST(`grep', `jot -s "" -b . 80')
REGRESSION_END()
diff --git a/tools/regression/usr.bin/jot/regress.stutter.out b/tools/regression/usr.bin/jot/regress.stutter.out
new file mode 100644
index 0000000..10eb87d
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.stutter.out
@@ -0,0 +1,19 @@
+9
+8
+8
+8
+7
+6
+6
+6
+5
+4
+4
+4
+3
+2
+2
+2
+1
+0
+0
diff --git a/tools/regression/usr.bin/jot/regress.tabs.out b/tools/regression/usr.bin/jot/regress.tabs.out
new file mode 100644
index 0000000..7859413
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.tabs.out
@@ -0,0 +1 @@
+10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130
diff --git a/tools/regression/usr.bin/jot/regress.xaa.out b/tools/regression/usr.bin/jot/regress.xaa.out
new file mode 100644
index 0000000..b14f9a0
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.xaa.out
@@ -0,0 +1,26 @@
+xaa
+xab
+xac
+xad
+xae
+xaf
+xag
+xah
+xai
+xaj
+xak
+xal
+xam
+xan
+xao
+xap
+xaq
+xar
+xas
+xat
+xau
+xav
+xaw
+xax
+xay
+xaz
diff --git a/tools/regression/usr.bin/jot/regress.yes.out b/tools/regression/usr.bin/jot/regress.yes.out
new file mode 100644
index 0000000..74e8d37
--- /dev/null
+++ b/tools/regression/usr.bin/jot/regress.yes.out
@@ -0,0 +1,10 @@
+yes
+yes
+yes
+yes
+yes
+yes
+yes
+yes
+yes
+yes
OpenPOWER on IntegriCloud