hcvv
August 25, 2024, 2:21pm
2
BZZZZ3:
cp --target-directory=
I do not know what the picture you show is from. I have no idea about Linux Mint. And it might look a bit strange, but does it not function?
BZZZZ3
August 25, 2024, 2:32pm
3
I do not know what the picture you show is from. Table is from me pressing keys in terminal and copy+pasting all text from terminal.
And it might look a bit strange, but does it not function? \
before
=
is bad because if I have
cp --target-directory\=/t
(cursor at the end) and I press
tab , I get
cp /tmp/
(both in openSUSE Tumbleweed and Linux Mint 22 but bash tab autocomplete doesn't add extra \
in Linux Mint 22) .
Use -t instead of --target-directory=
--target-directory\=
is maybe an bug?
hcvv
August 25, 2024, 2:43pm
5
Yes maybe as in: not the intention. But I think the resulting command will still function as if the \
wasn’t there.
hcvv
August 25, 2024, 3:08pm
7
I understand. Maybe file a bug?
Information: openSUSE:Submitting bug reports - openSUSE Wiki
And the place to do it: Bugzilla Main Page (same username/password as here on the forums).
hcvv
August 26, 2024, 7:29am
9
I am not sure if the present behaviour was the intention of the patches. Did you start a bug report pointing to what you experience?
hcvv
August 26, 2024, 8:37am
10
Just curious and I tested with a file name:
henk@boven:~/test/co> touch aap=noot
henk@boven:~/test/co> l
total 8
drwxr-xr-x 2 henk wij 4096 Aug 26 10:33 ./
drwxr-xr-x 11 henk wij 4096 Aug 26 10:33 ../
-rw-r--r-- 1 henk wij 0 Aug 26 10:33 aap=noot
henk@boven:~/test/co> rm aap\=noot
where I hit the Tab somewhere within aap
. So it uses the \
for completion, but I (like you) have no idea why. I see no reason to escape the =
at all.
BZZZZ3
August 26, 2024, 7:20pm
11
hcvv
August 26, 2024, 7:24pm
12
Thanks. I am curious to follow this.
system
Closed
September 25, 2024, 7:25pm
13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.