Fix erroneously removing pipe chars from input

cleaninput() unintentionally deletes the '|' character from input.  This
commit fixes it and adds test for adding tasks with a bunch of symbols.
This commit is contained in:
Nick Wilson
2011-01-31 21:07:35 -08:00
parent f1d339a537
commit 8e4364f5e1
2 changed files with 11 additions and 7 deletions

View File

@@ -260,7 +260,7 @@ cleaninput()
{
# Cleanup the input
# Replace newlines with spaces Always
input=`echo $input | tr -d '\r|\n'`
input=`echo $input | tr -d '\r\n'`
action_regexp="^\(append\|app\|prepend\|prep\|replace\)$"