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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1424243

Title:
  notify-send doesn't show message body which contains ampersand (&)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1424243/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to