[Bug 192534] Syntax error in checkkey.sh

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 9 22:06:30 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192534

--- Comment #2 from Warren Block <wblock at FreeBSD.org> ---
(In reply to yaneurabeya from comment #0)
> Created attachment 145580 [details]
> Fix for the syntax error
> 
> There's a syntax error in checkkey.sh :
> 
> $ bash -n checkkey.sh 
> checkkey.sh: line 105: syntax error near unexpected token `;'
> checkkey.sh: line 105: `			;&'
> 
> A patch is attached which fixes the syntax error.

This is not a syntax error on genuine sh(1):

     If the selected list is terminated by the control operator `;&' instead of
     `;;', execution continues with the next list, continuing until a list
termi-
     nated with `;;' or the end of the case command.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list