Here's how to change the backslashes in MS Windows style file names to forward slash:
.ls -R | .regex -p '[\\]' -r '/'
The -p and -r options to .regex go together -p sets the regex pattern to be replace in the input stream to .regex -r sets the replacement string
I would have expected
-p '\\'
to have been sufficient, will investigate why the the [] characters are needed in this situation.
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Here's how to change the backslashes in MS Windows style file names to forward slash:
The -p and -r options to .regex go together
-p sets the regex pattern to be replace in the input stream to .regex
-r sets the replacement string
I would have expected
to have been sufficient, will investigate why the the [] characters are needed in this situation.