[xmonad] darcs patch: Prompt.Shell: escape ampersand

Valery V. Vorotyntsev vvv at mts.com.ua
Thu Mar 12 05:50:32 EDT 2009


Emails that come from Windows(r)Land can have the files with funny
names attached to them...

The one I recived today was named `UMC HLRs&numbers_20090212.xls'.
I couldn't open it from xmonad's shell prompt -- the latter
tab-completed filename to

  oocalc /tmp/UMC\ HLRs&numbers_20090212.xls

The command failed since ampersand was not escaped.

                                * * *

-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-escape-ampresand.patch
Type: text/x-diff
Size: 26964 bytes
Desc: shell-escape-ampresand.patch
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090312/5c61df45/shell-escape-ampresand-0001.bin
-------------- next part --------------

Have fun!


More information about the xmonad mailing list