On 4/7/21 10:11 PM, Michael Cook wrote: > Attached, please find a patch to add the --verbose (-v) option to the touch > command.
This was already discussed: https://www.gnu.org/software/coreutils/rejected_requests.html#touch " touch --verbose. This could not be implemented robustly. Also xargs --verbose or (set -x; touch *) are sufficient " Furthermore, the patch makes touch(1) behave differently depending on whether --verbose is given or not: 1x vs. 2x fd_reopen(). I think this is the kind of side effects which is not acceptable for a simple diagnostic option. Or to use Padraig's words from the thread referenced from above's URL: https://lists.gnu.org/r/bug-coreutils/2012-04/msg00006.html > Also to indicate as to whether files were created or not, > is problematic, I don't think that can be done atomically. Have a nice day, Berny