Jump to content

Single quotes messing up workflow

Recommended Posts

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:

## 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)?

Edited by philipmorgan
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...