summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/sed/hanoi.sed
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/usr.bin/sed/hanoi.sed')
-rw-r--r--tools/regression/usr.bin/sed/hanoi.sed5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/regression/usr.bin/sed/hanoi.sed b/tools/regression/usr.bin/sed/hanoi.sed
index d29c648..5641a62 100644
--- a/tools/regression/usr.bin/sed/hanoi.sed
+++ b/tools/regression/usr.bin/sed/hanoi.sed
@@ -1,14 +1,15 @@
# Towers of Hanoi in sed.
#
# @(#)hanoi.sed 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
#
#
# Ex:
# Run "sed -f hanoi.sed", and enter:
#
-# :abcd: : :<CR><CR>
+# :abcd: : :<CR>
#
-# note -- TWO carriage returns, a peculiarity of sed), this will output the
+# note -- TWO carriage returns were once required, this will output the
# sequence of states involved in moving 4 rings, the largest called "a" and
# the smallest called "d", from the first to the second of three towers, so
# that the rings on any tower at any time are in descending order of size.
OpenPOWER on IntegriCloud