Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360333 - Support parameter expansions without semicolons
Summary: Support parameter expansions without semicolons
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 20:03 UTC by Petteri Räty (RETIRED)
Modified: 2018-01-25 17:51 UTC (History)
1 user (show)

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 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)