This question already has an answer here:
I want to enter the current date (ideally in the form YYYY-MM-DD hh:mm) as an option in a bash script:
/usr/local/bin/growlnotify -t "PMK" -m date
but then the variable -m inserts the string "date" in the output. How can I tell the script that it has to use the output value of the "date" command?
(I'm using MacOS X 10.6 and the growlnotify command is used to display a popup window with 2 strings ("PMK" and a second one where I'd like to get the current date/time) http://growl.info/ )