View Single Post
Old 11-18-2011, 01:15 PM   #1
nimblebooks began at the beginning.
Posts: 28
Karma: 10
Join Date: May 2010
Device: Kindle
escaping spaces in command line --title


I am having some trouble escaping the spaces in command line title when using a bash variable.

where I have

ebook-convert ... foo.epub ... --title$seed
or ebook-convert ...--title'$seed'
or ebook-convert ...--title"$seed"

where $seed="Adam Hall"

I am getting, respectively, title as


in other words, it is dropping off everything after the space. What am I doing wrong?
nimblebooks is offline   Reply With Quote