aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-18 01:36:46 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-18 01:36:46 -0500
commit8f14d6dd1293e0f1e2d3f65b596f0fa6f162a383 (patch)
tree2aea8ca7b98f02da42a4013fefce74e433f4f3a7 /src/unalf.rst
parent409ec782e1a74cbd86b6e51b49c0785021be0fdc (diff)
downloadunalf-8f14d6dd1293e0f1e2d3f65b596f0fa6f162a383.tar.gz
Better text file detection for -aa; convert tabs with -a or -aa.
Diffstat (limited to 'src/unalf.rst')
-rw-r--r--src/unalf.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/unalf.rst b/src/unalf.rst
index e23debd..4c3a658 100644
--- a/src/unalf.rst
+++ b/src/unalf.rst
@@ -44,20 +44,22 @@ OPTIONS
=======
-a
- Convert text file line endings from Atari EOL to UNIX newline. Text
- files are detected by name: **\*.txt**, **\*.doc**, **\*.lst** files
- are considered text.
+ Convert text file line endings and tabs from ATASCII to ASCII. Text
+ files are detected by looking at the first 2 bytes of the extracted
+ file. If both are printable ASCII (or ATASCII EOL, aka **$9B**), the
+ file is considered text.
- Note that *only* line-endings are converted. Other ATASCII characters
- are left alone. If you need anything more in-depth, use **a8cat**\(1).
+ Note that *only* line-endings and tabs are converted. Other ATASCII
+ characters are left alone. If you need anything more in-depth, use
+ **a8cat**\(1).
-.. convert EOLs in text files.
+.. convert EOLs and tabs in text files.
--aa
+**-aa**
Convert line endings in all extracted files. This will corrupt any
executables or non-text data files, so use with caution.
-.. convert EOLs in ALL files.
+.. convert EOLs and tabs in ALL files.
-d output-dir
Write extracted files to this directory, which will be created if it