Re: bugreport: the %f macro

  • From: tpgww@xxxxxxxxxxx
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Wed, 8 Feb 2006 08:17:40 +1100

On Mon, 6 Feb 2006 10:40:17 +0100
Liviu Andronic <landronimirc@xxxxxxxxx> wrote:

> I believe these two bugs are somehow linked.
> 
> I make an alias make = sudo make. Then, running make uninstall gives
> >sudo makeuninstall (3849)
> sudo: makeuninstall: command not found
> >sudo makeuninstall (3849) returned '1'
That bug now fixed, thanks for the pointer.
For now at least, you can make it work by setting the alias to be sudo \1\2

For those who haven't read the help doc, \1 will become the matched command 
(here, 'make ', note the trailing space) and \2 will become whatever follows 
the match (here, 'install')

> ...or...
> >opera file://"/mnt/verbatim/regular expressions/""wikka.htm" (3691)
> ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded:
> ignored. ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be
> preloaded: ignored. opera: Activated running instance
> >opera file://"/mnt/verbatim/regular expressions/""wikka.htm" (3691)
> returned '118'
> 
> ...and this I get in opera's address bar...
> file://localhost/mnt/verbatim/regularexpressions/wikka.htm
> ÿõ,z»j{§²æìr¸?yúè?Ø^?+-o+?ا?é??[hzg¥~mÿ­ê®zËÿ~·??+-³ú+?­?û§²æìr¸?{ø§¶¬¹¸Þr×âzWh­¼¥¢"?§¶?a{??{^­ö?
That's a different matter, relating to how macros work.

It looks like the executed command was in fact
 opera file://%d%f
where the %d and %f were expanded into the quoted strings as reported

If opera can cope with embedded spaces in the document path, another way is to 
use
 opera file://%%d%%f
which will unquote the strings, giving
 opera file:///mnt/verbatim/regular expressions/wikka.htm
or
 opera file://localhost%%d%%f would make it closer to opera's display

If neither of those is satisfactory, then something to replace embedded space 
characters with "%20" (or something otherwise acceptable) will have to be 
implemented. Not yet sure what is the best substitute, or how best to do the 
substitution.

Regards
Tom


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: