> The error message:
> sh: -c: line 1: syntax error near unexpected token `('
> sh: -c: line 1: `/usr/atria/bin/cleartool describe \
> /very_long_path/lang/menu_chinese(taiwan)_taiwan.950.vim | \
> /bin/grep specified_label'
> sh: -c: line 1: syntax error near unexpected token `('
> sh: -c: line 1: `/usr/atria/bin/cleartool describe \
> /very_long_path/lang/menu_chinese(gb)_gb.936.vim | \
> /bin/grep specified_label'

The simple solution is to be sure that single quotes are around the
strings passed to the "describe" command:

>         my $results = `$ct describe '$line' | $grep $label`;

This should provide single quotes to the shell around the string in
$line - I don't think you have to escape them here.

Luke



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to