Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368667 - libbash doesn't check the command separator in function bodies
Summary: libbash doesn't check the command separator in function bodies
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 09:41 UTC by Mu Qiao (RETIRED)
Modified: 2018-01-25 17:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mu Qiao (RETIRED) gentoo-dev 2011-05-25 09:41:27 UTC
qiaomuf@puma ~/repository/libbash $ function foo() { : }
> ;
-bash: syntax error near unexpected token `;'
qiaomuf@puma ~/repository/libbash $ function foo() { :
> }
qiaomuf@puma ~/repository/libbash $ function foo() { :; }
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:58:20 UTC
Developer retired (and his mail address is not active anymore)