Jump to content

philipmorgan

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by philipmorgan

  1. That worked!!! Thank you Vitor! Here's the new syntax (with escaping turned on in Alfred as you suggested): echo "* {query} ("$dt")" >> $original
  2. 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)?
×
×
  • Create New...