Thanks a lot Peter, that was exactly what I was looking for

On Jul 5, 6:42 pm, Peter Hosey <[email protected]> wrote:
> On Jul 5, 2010, at 08:51:48, Aziz Light wrote:
>
> >    growlnotify -t "moc: $title" -n "mocp" -m "by $artist\nalbum: $album"
>
> The shell does not expand \n to a newline in "" strings, so you're passing 
> the backslash and letter n to growlnotify, which does not replace such 
> sequences. You need to make your shell do it. Do this by wrapping the newline 
> sequence in a $'' string:
>
>         "by $artist"$'\n'"album: $album"

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to