Last change
on this file since 3688 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
222 bytes
|
Rev | Line | |
---|
[3320] | 1 | f() { echo Hello; }
|
---|
| 2 | g () { echo One: $# Param1: $1; }
|
---|
| 3 | h ( )
|
---|
| 4 | {
|
---|
| 5 | echo -n 'Multi ' && echo -n 'line '
|
---|
| 6 | echo function
|
---|
| 7 | false
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | f
|
---|
| 11 | echo Zero: $?
|
---|
| 12 | set -- Restored
|
---|
| 13 | { g World; }
|
---|
| 14 | echo Zero: $? Param1: $1
|
---|
| 15 | ( h )
|
---|
| 16 | echo One: $?
|
---|
Note:
See
TracBrowser
for help on using the repository browser.