Red Hat Bugzilla – Bug 217178
[PATCH] Escape single quotes in scp completion
Last modified: 2007-11-30 17:11:50 EST
With the attached patch bash completion for the scp command also escapes single
quote characters "'" by matching the sed hex perlre escape for it "\x27".
Not sure how portable this sed syntax is but it works for Fedora's sed.
Also sent to the upstream author.
Created attachment 142081 [details]
scp single quote escape
Have you heard back from upstream?
Nope. I did resent it today as it might have ended in a spamtrap or something...
If there is no answer I won't try any more.
Created attachment 144368 [details]
Probably more portable approach
Here's a less pretty and efficient, but probably more portable approach.
Patch from comment 4 applied in soon-to-appear 20060301-3 for FC-6+.