1# $OpenBSD: t3.in,v 1.1 2003/12/17 15:11:36 otto Exp $ 2# 3# Copyright (c) 2003 Kevin Quick <quick@null.net> 4# 5# Permission to use, copy, modify, and distribute this software for any 6# purpose with or without fee is hereby granted, provided that the above 7# copyright notice and this permission notice appear in all copies. 8# 9# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 17[ Sing the classic '99 Bottles of Beer', using the Unix dc utility. ]sd 18[ ]sd 19[ Run this one by typing 'dc < bottles.dc' at the Unix prompt, where ]sd 20[ bottles.dc is the file containing these lines. ]sd 21[ ]sd 22[ bottles of beer]sb[ on the wall]sw[,]sc 23[take one down, pass it around]st[.]sp[no more]sk 24[10lplwlbln1-10lclt10lclbln32lclwlbln]sl 25[lzxPPPPlzxPPPPPPlzxPPPP]so[lkP]sx[dZselyxsd]su 26[d10le1-dse^ /d10/10*-48+P le0<y]sy[d0=xd0<u]sz 27[llxloxln1-dsn0<r]sr[Plf1-dsf0<g]sg 2899snlrx10P 29