Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Andy Fyfe
Tue, 13 Jun 1989 20:54
parameter substitution (bash 0.99)
Author: Andy Fyfe
Date: Tue, 13 Jun 1989 20:54
Date: Tue, 13 Jun 1989 20:54
6 lines
589 bytes
589 bytes
Given
X=
echo ${X:-abcd}
bash will echo "", while /bin/sh (sun, 3b1) and /bin/ksh (3b1) will
echo "abcd". The man pages talk about varibles being "set and non-null"
or "not set or null".
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads