On Monday 02 June 2014, Bernhard Voelker wrote: > > On 1 June 2014 23:35, Ruediger Meier <sweet_f_a@xxxxxx> wrote: > > BTW I just noticed that bash's > > $ cd '' > > does NOT return error. But > > $ /usr/bin/cd '' > > does like it should IMO. > > What is /usr/bin/cd? As this would do the chdir() in > a very-short-living sub-process, I'd consider this a > useless program (apart from checking whether chdir()ing > into the given directory would succeed). > > Have a nice day, > Berny > -- > To unsubscribe from this list: send the line "unsubscribe util-linux" > in the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html Ooops :) Of course it does not exist. But the error looks (almost) plausible, lol $ /usr/bin/cd "" sh: /usr/bin/cd: No such file or directory cu, Rudi -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html