Note that two carriage returns aren't required after entering the
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$. MFC after: 2 weeks
This commit is contained in:
parent
ccece3d626
commit
bfed7b6485
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99355
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user