aboutsummaryrefslogtreecommitdiff
path: root/listamsb.1
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-04 14:00:45 -0500
committerB. Watson <urchlay@slackware.uk>2025-03-04 14:00:45 -0500
commit84a7dd4319411fe567e67c3d0947fd5246ed7b13 (patch)
tree48e2f201a15fa49b62f28102397f0ca972d76006 /listamsb.1
parentdc1fd1b9677476b18b602ddfab9cfcfd822f48f5 (diff)
downloadbw-atari8-tools-84a7dd4319411fe567e67c3d0947fd5246ed7b13.tar.gz
listamsb: add -n (no blank line at start) option.
Diffstat (limited to 'listamsb.1')
-rw-r--r--listamsb.112
1 files changed, 8 insertions, 4 deletions
diff --git a/listamsb.1 b/listamsb.1
index a800004..c30c65e 100644
--- a/listamsb.1
+++ b/listamsb.1
@@ -32,7 +32,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
listamsb \- List the source of a tokenized Atari Microsoft BASIC program
.SH SYNOPSIS
.sp
-listamsb [\fB\-a\fP] [\fB\-v\fP] [\fB\-h\fP] [\fB\-i\fP] [\fB\-u\fP] [\fB\-t\fP] [\fB\-m\fP] [\fB\-s\fP] [\fB\-r\fP \fIline\-range\fP] [\fBinput\-file\fP]
+listamsb [\fB\-l\fP] | [[\fB\-a\fP] [\fB\-v\fP] [\fB\-h\fP] [\fB\-i\fP] [\fB\-u\fP] [\fB\-t\fP] [\fB\-m\fP] [\fB\-n\fP] [\fB\-s\fP] ...] [\fB\-r\fP \fIline\-range\fP] [\fBinput\-file\fP]
.SH DESCRIPTION
.sp
\fBlistamsb\fP acts like the \fILIST\fP command in Atari Microsoft BASIC. It reads a
@@ -95,6 +95,10 @@ listamsb \-l LOCKED.AMB > UNLOCKED.AMB
\fBa8cat\fP is not used with this option. None of the other options
have any effect with \fB\-l\fP\&.
.TP
+.B \fB\-n\fP
+No empty line. By default, \fBlistamsb\fP prints an empty line at the
+start of the output, to match AMSB\(aqs LIST command.
+.TP
.B \fB\-v\fP
Verbose output, on stderr. May be given twice for extra verbosity,
which shows each line number, its offset, length, and end\-of\-line pointer.
@@ -198,9 +202,9 @@ More likely, it means this is an Atari BASIC file.
program size doesn\(aqt match size in header
.sp
Might mean this isn\(aqt an AMSB file. If you\(aqre sure it is, it might
-be truncated, or part of the file might have been overwritten
-with \fI$00\fP bytes. It could also mean the length in the header has
-somehow gotten corrupted.
+be truncated, or part of the file might have been overwritten with
+\fI$00\fP bytes. It could also mean the length in the header has somehow
+gotten corrupted.
.IP \(bu 2
trailing garbage at end of file
.sp