[Bug 13901] New: Empty quotes adds cwd to SRC directories
pluto at agora.rdrop.com
Thu Apr 18 02:07:11 UTC 2019
Joe via rsync <rsync at lists.samba.org> wrote:
> I brought this up on the list years ago and was told it's a feature,
> not a bug.
That is a really lame excuse.
> Even if some other GNU or Linux commands have this "feature", it still
> violates the principle of least surprise.
It is certainly not expected behavior for "normal" Unix commands.
A couple of examples, on FreeBSD:
$ ls ""
ls: fts_open: No such file or directory
$ cat ""
cat: : No such file or directory
More information about the rsync