If you replace & with & it seems to work: foo=`echo "this & that" | sed -r 's/[&]+/&/g'` notfiy-send "teste" "$foo"
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libnotify in Ubuntu. https://bugs.launchpad.net/bugs/1424243 Title: notify-send doesn't show message body which contains ampersand (&) Status in libnotify package in Ubuntu: New Bug description: If the message body contains the character ampersand (&), notify-send shows the title, but not the message body. It's easily reproduced running it with any message body containing &, for instance: notify-send teste 'this & that' See the screenshot attached. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: libnotify-bin 0.7.6-1ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3 Uname: Linux 3.16.0-30-generic x86_64 ApportVersion: 2.14.7-0ubuntu8.2 Architecture: amd64 CurrentDesktop: XFCE Date: Sat Feb 21 17:29:27 2015 InstallationDate: Installed on 2014-11-25 (88 days ago) InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1) SourcePackage: libnotify UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1424243/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

