<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/05/2022 19:08, Duncan Murdoch
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a0a1213b-21c7-6a08-1802-5e29c2270e0a@gmail.com"><br>
I'm not familiar with the details of CMD's scripting, but the
thing I'd worry about is that if it drops blank lines, it might
make other undesirable changes as well. If I was using CMD, I'd
probably look for a program like "sed" that was designed for
editing. sed itself is available for Windows; the command to echo
all but the first line of input would be
<br>
<br>
sed -e 1d < bowls-rr.ta68
<br>
<br>
or if I wanted to delete all the lines (if any) with % at the
start,
<br>
<br>
sed -e /^%/d < bowls-rr.ta68
<br>
<br>
This could be included in a larger .cmd script that went on to run
the compiler.
<br>
<br>
Duncan Murdoch <br>
</blockquote>
<p>Thank you for your follow-up and suggestions, Duncan. Looking at
the HELP text for FOR, the removal of blank lines is clearly
documented :</p>
<p>
<blockquote type="cite">Blank lines are skipped.</blockquote>
and there is no evidence of undesirable changes, so I am inclined
to stick with a pure CMD solution for now. SED would almost
certainly be faster, since it is a compiled program rather than an
interpreted one, but I think that my CMD solution will suffice all
the while my programs remain of modest size.</p>
<p>-- <br>
<i>** Phil.</i><br>
</p>
<p><br>
</p>
</body>
</html>