First take a look at this question: Bash or GoogleCL: new line in string parameter
Now I want to add the variable $ {date} to "summary":
google youtube post ~/videos/cat-falls-down-stairs.avi Comedy \ --tags 'currency of the internet' \ --summary $'Today is ${date}. Poor whiskers takes a tumble.\nShe'\' fine, though, don'\''t worry.'
but the variable will not expand inside the single quote in bash.
Can this be done?
Note: GoogleCL is a command line program written in python. I'm on Ubuntu 10.10 with Python 2.6.
python command-line linux bash googlecl
Docwiki
source share