clicompanion-devs team mailing list archive
-
clicompanion-devs team
-
Mailing list archive
-
Message #00506
[Bug 783900] Re: no backslash as first letter of an entry
Your right. I will move this comment as a current main description of
the problem. Thank you!
** Changed in: clicompanion
Status: Incomplete => Triaged
** Changed in: clicompanion
Importance: Undecided => Medium
** Description changed:
- 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.
+ 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.
--
You received this bug notification because you are a member of CLI
Companion Development Team, which is subscribed to CLI Companion.
https://bugs.launchpad.net/bugs/783900
Title:
no backslash as first letter of an entry
Status in CLI Companion:
Triaged
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/clicompanion/+bug/783900/+subscriptions