in reply to Re: How to get the unique canonical path of a given path?
in thread How to get the unique canonical path of a given path?
Nevermind; ignore my objection from the spoiler. I just tried the cd /tmp/../../../tmp and found it did go to the /tmp directory. And perl -le 'use autodie; open my $fh, ">", "/tmp/../../../tmp/worked.txt"; print {$fh} "it worked";' works as expected as well, so apparently that weird notation is a perfectly-valid syntax. Sorry.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to get the unique canonical path of a given path?
by tybalt89 (Monsignor) on Jul 16, 2022 at 17:43 UTC |