taskshell icon indicating copy to clipboard operation
taskshell copied to clipboard

[TS-23] Tasksh throws errors on unescaped parentheses

Open taskwarrior opened this issue 7 years ago • 2 comments

Cory Donnelly on 2015-12-23T16:23:15Z says:

I had expected that an interactive shell for task would be more forgiving with respect to unescaped special characters, but tasksh choked on parentheses:

tasksh> add This is a task that includes parens (see I told you so)
[task add This is a task that includes parens (see I told you so)]
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `task add This is a task that includes parens (see I told you so)'

taskwarrior avatar Feb 11 '18 17:02 taskwarrior

Migrated metadata:

Created: 2015-12-23T16:23:15Z
Modified: 2016-09-04T17:13:16Z

taskwarrior avatar Feb 11 '18 17:02 taskwarrior

I think this just requires re-escaping anything that might need it before issuing the taskwarrior command.

pbeckingham avatar Feb 11 '18 22:02 pbeckingham