You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in /usr/
in /usr//
in /usr///usr
in /usr///usr/usr
in /usr///usr/usr/usr
in /usr///usr/usr/usr/usr
in /usr///usr/usr/usr/usr/usr
in /usr///usr/usr/usr/usr/usr/usr
...
The text was updated successfully, but these errors were encountered:
I will probably try to play with the IFS var to handle paths as array.
join_path() { local IFS=/;echo"$*" }
split_path() { local IFS=/;echo"$*" } # this does not break spaces in names.
a=($(split_path 'ab cd/e/f/'))
b=($(split_path '//gh i///j/k'))
echo$#a[@] $a[1]
join_path $a$b
how to reproduce
case 1
case 2
Hint
I have added
echo "out $_AUTOENV_OLDPATH"
on lineecho "in $_AUTOENV_OLDPATH"
on lineand this is what is reported :
The text was updated successfully, but these errors were encountered: