issues
search
briandfoy
/
PerlPowerTools
Perl Power Tools
https://metacpan.org/pod/PerlPowerTools
Other
211
stars
53
forks
source link
du: remove unix path assumption
#625
Closed
mknos
closed
2 months ago
mknos
commented
2 months ago
du had a documented bug where '/' was the path separator
As done in other scripts, make use of catfile() when joining a directory name to a filename
This works the same on my Linux system, but in theory it will work better on windows
catfile() can handle directory names with a redundant separator at the end, so a conditional expression is not needed
Remove global variable $dirsep