Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 360333

Summary: Support parameter expansions without semicolons
Product: Gentoo Hosted Projects Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: libbashAssignee: Petteri Räty (RETIRED) <betelgeuse>
Status: RESOLVED OBSOLETE    
Severity: normal CC: qiaomuf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2011-03-24 20:03:56 UTC
At least looking at param_main.gunit we are not prepared for the fact that semicolon is often optional in parameter expansions. From man bash:

When not performing substring expansion, using the forms documented below, bash tests for a parameter that is unset or null.  Omitting the colon results in a test only for a parameter that is unset
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:51:30 UTC
Developer retired (and his mail address is not active anymore)