gnu.bash.bug
[Top] [All Lists]

Re: Bash - various feature requests

Subject: Re: Bash - various feature requests
From: Chet Ramey
Date: Fri, 29 Dec 2006 17:20:44 -0500
Newsgroups: gnu.bash.bug
Grzegorz Adam Hankiewicz wrote:

> However, if I use echo ${f:-3} I don't get the expected result. I wonder
> if this is a bug of my bash version:

Please read the Bash FAQ, question E12.  ${parameter:-word} already means
something else.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@xxxxxxxx    http://cnswww.cns.cwru.edu/~chet/



<Prev in Thread] Current Thread [Next in Thread>