aboutsummaryrefslogtreecommitdiff
path: root/renumbas.1
diff options
context:
space:
mode:
Diffstat (limited to 'renumbas.1')
-rw-r--r--renumbas.119
1 files changed, 11 insertions, 8 deletions
diff --git a/renumbas.1 b/renumbas.1
index e09480c..1d52523 100644
--- a/renumbas.1
+++ b/renumbas.1
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.TH "RENUMBAS" 1 "2025-03-11" "0.2.2" "Urchlay's Atari 8-bit Tools"
+.TH "RENUMBAS" 1 "2025-03-27" "0.2.2" "Urchlay's Atari 8-bit Tools"
.SH NAME
renumbas \- Renumber Atari 8-bit BASIC programs
.SH SYNOPSIS
@@ -38,9 +38,10 @@ renumbas [\fB\-v\fP] [\fB\-s\fP \fIstart\-lineno\fP] [\fB\-i\fP \fIincrement\fP]
\fBrenumbas\fP reads a tokenized Atari 8\-bit BASIC program and writes a
renumbered copy of the program.
.sp
-\fBinput\-file\fP must be a tokenized (SAVEd) Atari BASIC program. Use
-\fI\-\fP to read from standard input, but \fBrenumbas\fP will refuse to
-read from standard input if it\(aqs a terminal.
+\fBinput\-file\fP must be a tokenized (SAVEd) Atari BASIC, BASIC XL,
+BASIC XE, or Turbo BASIC program. Use \fI\-\fP to read from standard input,
+but \fBrenumbas\fP will refuse to read from standard input if it\(aqs a
+terminal.
.sp
\fBoutput\-file\fP will be the renumbered BASIC program. If it already
exists, it will be overwritten. Use \fI\-\fP to write to standard output,
@@ -48,10 +49,12 @@ but \fBrenumbas\fP will refuse to write to standard output if it\(aqs a
terminal (since tokenized BASIC is binary data and may confuse the
terminal).
.sp
-Line number references are changed in every line where they occur, so
-e.g. if line 100 gets changed to 200, any other line that does a \fIGOTO\fP
-\fI100\fP (or \fIGOSUB\fP, \fIRESTORE\fP, \fITRAP\fP, etc) will be updated with the new line
-number.
+Line number references are changed in every line where they occur,
+so e.g. if line 100 gets changed to 200, any other line that does a
+\fIGOTO\fP \fI100\fP (or \fIGOSUB\fP, \fIRESTORE\fP, \fITRAP\fP, etc) will be updated with
+the new line number. If the input is BASIC/A+ or OSS Integer BASIC,
+the line numbers will be changed, but references to them \fIwill not\fP
+be updated (a warning will be printed to stderr, in that case).
.sp
Computed line numbers can\(aqt be updated (e.g. \fIGOTO A or GOSUB
1000+A*100\fP). These will cause warnings on stderr, so you can fix them