So there's an undocumented feature of the "4.1" delete command (version 53.2). Suppose you have a directory soft_demonstration , that has one file in it. If you give delete the path of this file (relative or absolute) and any number of names that are not found, there will be a message about each:
7.RAM Disk:> echo ... > soft_demonstration/unimportant_file
7.RAM Disk:> delete RAM:soft_demonstration/unimportant_file peekaboo_number_two peekaboo_numero_uno
RAM:soft_demonstration/unimportant_file Deleted
peekaboo_number_two Not Deleted: object not found
peekaboo_numero_uno Not Deleted: object not found
That's expected, right? But if something like this occurs, the silence is surprising:
7.RAM Disk:> echo ... > soft_demonstration/unimportant_file
7.RAM Disk:> delete soft_demonstration there_is_not_anything_here_at all
soft_demonstration/unimportant_file Deleted
soft_demonstration Deleted
So in other words, if you use the "all" modifier, the output resembles the delete of old (version 37.8). That one only notifies if there was nothing to delete. AmigaOS 4.0 equivalent is different, it mentions not found things by name unless you have "all" in. Then the message is a generic "object not found".
The above example could be flat, referencing just a file without any directory, "all" is the deciding thing.
Edited by Rigo on 2019/6/16 16:20:05