Sep 19, 2025, 09:14 by andreas.kah...@abc.se:Should I somehow *assume* that "--help" is supported?Actually, yes. If there is only one thing that you would reasonably assume about any command -- then this would be it. :-) When you encounter an unfamiliar command, you don't immediately rush to find its documentation -- No, you first try "--help" -- and that is a reasonable assumption.
Not all the world is Linux. $ /bin/cp --help /bin/cp: illegal option -- - usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file target_filecp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file ... target_directory
$ echo $? 64 -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature