This is a discussion on may be a defect in your demo script. within the Shell scripting forums, part of the Development/Scripting category; I found this in " http://www.freeos.com/guides/lsst/scripts/pass " I think "function demo()" in line 9 should be "demo()" after move it ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
I found this in " http://www.freeos.com/guides/lsst/scripts/pass "
I think "function demo()" in line 9 should be "demo()" after move it , the script can run in environment Cygwin. thanks your great help before. |
| Sponsored Links | ||
|
|
|
||||
|
Hee you can define function using both syntax
function foo() { … … } OR foo() { … … } As far as this example concerns it is working I just cross checked. Just look at http://www.freeos.com/guides/lsst/ch04sec5.html it got examples of both syntax. May be Cygwin's bash version could be problem but i'm not sure never used Cygwin |