philipmorgan
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by philipmorgan
-
-
That worked!!! Thank you Vitor!
Here's the new syntax (with escaping turned on in Alfred as you suggested):
echo "* {query} ("$dt")" >> $original
-
I'm trying to modify the AppendText2File workflow so that if the text to be appended has a single quote inside it the workflow doesn't break.
Here's the relevant portion of the workflow:
dt=`date` ## append to the original file echo "* "$dt" -- "{query} >> $original
What do I do to strip out single quotes (or replace them with something bash/Alfred doesn't hate)?
Single quotes messing up workflow
in Discussion & Help
Posted
Thanks Vitor, I went with your enhanced syntax.