From: J L. T. <jlt...@ma...> - 2025-02-14 22:58:05
|
(Oops! Sent this to the wrong list!) I have a CD containing various open-source books in HTML format that I wish to reformat to make them more readable. I am able to read these books using various Linux tools, and even the jEdit (Java-based) text editor, but a NetRexx pipe fails with rc=13 (though it returns rc=0 to the shell). Here is the output from several commands that read from the CD and from a regular disk drive. I have set the debugging option as suggested in the Language Reference, but the output doesn't seem very helpful, at least to me. % @16:55:25 leslie@pinto % wd=~/data/Documents/eBooks/SF % $ head -n5 /run/media/leslie/HONORVERSE/index.htm % <html> % % <head> % <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> % <title>Honor Harrington Index Page</title> % rc=0 % @16:55:48 leslie@pinto % wd=~/data/Documents/eBooks/SF % $ pipe '(debug 63) < /run/media/leslie/HONORVERSE/index.htm|take 5|console' % Starting pipe p10a417d p10a417d@2e4538fc % Starting diskr_1 p10a417d@2e4538fc % Starting take_2 p10a417d@2e4538fc % Autocommitting take_2 p10a417d@2e4538fc to -1 % Starting console_3 p10a417d@2e4538fc % Preparing to stop diskr_1 p10a417d@2e4538fc 13 3 % Ending Pipe p10a417d p10a417d@2e4538fc 96 13 % Autocommitting diskr_1 p10a417d@2e4538fc to -1 % Autocommitting console_3 p10a417d@2e4538fc to -1 % Committed console_3 p10a417d@2e4538fc to -1 % RC=13 % rc=0 % @16:56:01 leslie@pinto % wd=~/data/Documents/eBooks/SF % $ pipe '< Authors/DavidWeber/index.html|take 5|console' % <!doctype html> % <html> % <head> % <meta charset=utf-8> % <link rel=stylesheet href=/home/leslie/Documents/Books/simple.css> % rc=0 The debug option is described only as a bitmap, but the meanings of the bits are not explained: % debug % The debug option specifies a bitmask for debugging the execu- % tion of a pipe; (debug 63), for example, generates a rather com- % plete debugging trail. Anyway, can you explain why this pipeline is failing? Leslie -- Platform: Linux Distribution: openSUSE Leap 15.6 - x86_64 NetRexx 4.06-GA build 152-20240304-0612 openjdk version "21.0.3" 2024-04-16 OpenJDK Runtime Environment (build 21.0.3+9-suse-lp155.51.3-x8664) OpenJDK 64-Bit Server VM (build 21.0.3+9-suse-lp155.51.3-x8664, mixed mode, sharing) |