[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash-complete errors



On 07/23/2015 08:45 AM, Dennis Wicks wrote:
> Greetings,
> 
> Frequently when I run a command in a terminal window (Debian 8.1 Xfce)
> I get a bunch of errors.
> 
>> /bin/bash: _parse_usage: line 16: syntax error near unexpected token
>> `('

This will happen if you are running a command with an unescaped ( in
the parameters.  It may work to enclose the whole parameter string in
double quotes.  Or escape any ( and ) with a leading \.  For example:

mycommand "(34)"

mycommand stuff \(34\)

Mark Neyhart


Reply to: