Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Chris Thewalt
Sun, 12 Nov 1989 16:42
function or while bug?
Author: Chris Thewalt
Date: Sun, 12 Nov 1989 16:42
Date: Sun, 12 Nov 1989 16:42
17 lines
886 bytes
886 bytes
The following function gives a syntax error near done. In fact I have been
unsuccessful in doing an interactive while as well (but the again,
being a csh convert maybe I'm doing something wrong).
function foo
{
while test $# != 0
do
echo $1
shift
done
}
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher Robin Thewalt These opinions are not necessarily
thewalt@ce.cmu.edu shared by my employer...
Carnegie Mellon University
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