# ソース入手と tarball 伸長
#------------------------------
$ cd ~/src
-$ wget -N https://gitlab.com/esr/open-adventure/-/archive/1.9/open-adventure-1.9.tar.bz2
-$ tar xf open-adventure-1.9.tar.bz2
+$ wget -N https://gitlab.com/esr/open-adventure/-/archive/1.10/open-adventure-1.10.tar.bz2
+$ tar xf open-adventure-1.10.tar.bz2
$ ls
-open-adventure-1.9
+open-adventure-1.10
#------------------------------
# man ページ生成
# 依存パッケージ: asciidoc (a2x)
#------------------------------
-$ cd ~/src/open-adventure-1.9
+$ cd ~/src/open-adventure-1.10
$ make advent.6
#------------------------------
$ cat > getfiles.sh <<"EOF"
#!/bin/sh
-SRCDIR=~/src/open-adventure-1.9
+SRCDIR=~/src/open-adventure-1.10
rm -fr man6
mkdir man6
# 日付をオリジナルに
THISDATE=`date '+%m/%d/%Y'`
-sed -i "s|$THISDATE|08/28/2020|g" man6/advent.6
+sed -i "s|$THISDATE|04/08/2022|g" man6/advent.6
EOF
$ sh getfiles.sh
.\" Title: advent
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL-NS Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 08/28/2020
+.\" Date: 04/08/2022
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "ADVENT" "6" "08/28/2020" "\ \&" "\ \&"
+.TH "ADVENT" "6" "04/08/2022" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
advent \- Colossal Cave Adventure
.SH "SYNOPSIS"
.sp
-\fBadvent\fR [\-l logfile] [\-o] [\-r savefile] [\-s]
+\fBadvent\fR [\-l logfile] [\-o] [\-r savefile] [script\&...]
.SH "DESCRIPTION"
.sp
The original Colossal Cave Adventure from 1976\-77 was the origin of all later text adventures, dungeon\-crawl (computer) games, and computer\-hosted roleplaying games\&.
.RS 4
Old\-style\&. Restores original interface, no prompt or line editing\&. Also ignores new\-school one\-letter commands l, x, g, z, i\&. Also case\-smashes and truncates unrecognized text when echoed\&.
.RE
+.sp
+Normally, game input is taken from standard input\&. If script file arguments are given, input is taken fron them instead\&. A script file argument of \fI\-\fR is taken as a directive to read from standard input\&.
.SH "BUGS"
.sp
The binary save file format is fragile, dependent on your machine word size and endianness, and unlikely to survive through version bumps\&. There is a version check\&.