Originally Posted by
OldGaf
Nope.... If I add () I get:
Hrmm. It worked for me using Ubuntu 7.10.
I copied and posted from your first post, and just added the () to each function.
Code:
arkaic@purgatory:/tmp$ ./function.sh
What do you want to do?
1 Print the first message
2 Print the second message
3 Quit
1
This is the first choice
arkaic@purgatory:/tmp$
Code:
arkaic@purgatory:/tmp$ bash --version
GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
Maybe it really is something different about kubuntu.
Bookmarks