On Fri, Jan 29, 2021 at 8:04 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
If the file doesn't exist, the command is equivalent to this: print -rC1 --This command doesn't print anything.
On Fri, Jan 29, 2021 at 7:33 AM Roman Perepelitsa
print -rC1 -- no_such_file(N)
This will print `no_such_file` if such file exists and will do nothing
Not precisely nothing ... it will print a newline.
% print -rC1 -- no_such_file(N)
zsh 5.8 (Ubuntu): prints nothing
zsh 5.7.1 (Mac): prints return