Bug 1127 - sh(1) parameter expansion for substring processing not enabled
Summary: sh(1) parameter expansion for substring processing not enabled
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 2.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joerg Wunsch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1996-04-09 12:30 UTC by Wolfram Schneider
Modified: 1996-09-01 13:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider 1996-04-09 12:30:02 UTC
$ sh -c 'bla=/usr/src; echo ${bla##/usr/}'
Syntax error: Bad substitution
$ bash -c 'bla=/usr/src; echo ${bla##/usr/}'
src

Fix: 

The sh(1) from NetBSD has substring processing.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1996-04-12 22:36:24 UTC
Responsible Changed
From-To: freebsd-bugs->joerg

I'm goinmg to deal with sh(1) bugs some day. 
Comment 2 Peter Wemm freebsd_committer freebsd_triage 1996-09-01 13:42:01 UTC
State Changed
From-To: open->closed

Fixed after 4.4Lite2 sh code merge