I have a path to a file that has duplicate slashes which would like to simplify.
For example, if I have the following:
/opt//bin//executable
I would like to get:
/opt/bin/executable
Asked by Thesevs SCUTULATUS
(23 rep)
May 21, 2024, 08:43 PM
Last activity: Jun 20, 2024, 07:56 PM
Last activity: Jun 20, 2024, 07:56 PM