First take a look at this question:
Bash or GoogleCL: new line in a string parameter
I want to add a variable ${date} into the "summary" now:
google youtube post ~/videos/cat-falls-down-stairs.avi Comedy
--tags 'currency of the internet'
--summary $'Today is ${date}. Poor whiskers takes a tumble.
She'''s fine, though, don'''t worry.'
but variable wont expand inside single quote in bash.
Is is possible to do that?
Note: GoogleCL is a command-line program written in python. I am on Ubuntu 10.10 with Python 2.6.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…