Jump to content

philipmorgan

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by philipmorgan

  1. 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...