Page 2 of 2
Re: Bug in shell/cli/console
Posted: Sun May 09, 2021 6:27 pm
by nbache
xenic wrote: Sun May 09, 2021 3:25 pmExample command:
more SYS:Documentation/C/Assign.doc
Sligtly OT, I know, but why don't you just do "help assign"?
Best regards,
Niels
Re: Bug in shell/cli/console
Posted: Mon May 10, 2021 4:43 pm
by xenic
nbache wrote: Sun May 09, 2021 6:27 pm
Sligtly OT, I know, but why don't you just do "help assign"?
Because I was testing if the more command produced the same error reported in this topic for lha in a shell. I normally don't use more for anything. Besides, the help files haven't been kept up to date with all the commands in the OS4.1FE C: directory. There are at least 40 commands in C: that do not have help files.
P.S. I keep 3rd party commands in an assign-added directory to the C: directory so the 40+ files I mentioned above do not include 3rd party commands.
Re: Bug in shell/cli/console
Posted: Mon May 10, 2021 5:07 pm
by Raziel
@xenic
It's a regression.
CLI 52.4 does not show this behaviour, while
CLI 53.15 does
Re: Bug in shell/cli/console
Posted: Tue May 11, 2021 12:21 am
by nbache
xenic wrote: Mon May 10, 2021 4:43 pmBesides, the help files haven't been kept up to date with all the commands in the OS4.1FE C: directory. There are at least 40 commands in C: that do not have help files.
Ouch ... noted.
Though (before having checked) there may well be commands in C: for which it wasn't intended to make their docs available for "help". But there may also be some that were simply not copied (in cleaned versions) to the Help dir. And possibly some where the docs were changed without being copied.
I'll investigate.
Best regards,
Niels
Re: Bug in shell/cli/console
Posted: Tue May 11, 2021 5:58 pm
by xenic
nbache wrote: Tue May 11, 2021 12:21 am
Ouch ... noted.
For your convenience here is a short AmigaDOS script that will list (to a file in ram:) the C: files that have no English help files:
Code: Select all
;Script docomp
FOREACH NAME file IN `list SORT N C: LFORMAT "C:%N"`
IF NOT EXISTS SYS:Locale/Help/english/Shell/${file}.help
ECHO >>ram:nohelp.txt $file
ENDIF
END
Re: Bug in shell/cli/console
Posted: Tue May 11, 2021 6:10 pm
by nbache
Thanks!
Best regards,
Niels
Re: Bug in shell/cli/console
Posted: Fri May 14, 2021 10:00 pm
by kolla
Really, this is a oneliner that can be done without any fancy foreach and bakcticking...
Code: Select all
List C: FILES LFORMAT "If NOT EXISTS *"HELP:english/%n.help*"\*n*tEcho *"%p%n*" >> ram:nohelp.txt*nEndIf" | Execute
Re: Bug in shell/cli/console
Posted: Sat May 15, 2021 12:20 am
by nbache
Yes, sure.
It's of little more than academic interest anyway, because that search is only a small first step in the task I have to do (when I get "a round tuit").
It will also be relevant to check the docs in Documentation/C against the ones in HELP:english/, both for existance and for equality.
And then someone in more charge than me will have to decide which discrepancies should actually be fixed, and which are intentional or irrelevant.
I do have a few other more pressing things to look at first, though, but I'll get there eventually.
Best regards,
Niels