no backslash as first letter of an entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Triaged
|
Medium
|
Unassigned |
Bug Description
I don't know if this is the same thing or not, but one problem I have noticed is that I can't add filesystem addresses with spaces in them, for example:
Imagine you want to search in a file called 'computer notes' with grep on the command line you would escape the space with a backslash like so:
grep grub ~/computer\ notes
If you add this address to the User Input box to replace a ? it will enter this at the command line:
grep grub ~/computer\
Which of course won't work.
I have tried it without the escape character and also encased in quote marks (both with and without the escape character) and I still can't get it to work.
-------------------
[original description]
As far as I see, inputs into the variable-?-template should not start with a backslash, which might be possible e.g. when it is asked for a path.
This is because in python and in '\n' the escape function of the backslash affects even a backslash itself and deletes it.
If I am right - and i am not quite sure of it - this should be at least be in the documentation.
OK, Thanks one more, I also look at this.