This is a discussion on Re: ksh doesn't show trace in fuctions within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Han Boetes dixit: >Hi, > >~$ proc(){ >> ls foo >> } >~$ set -x >~$ proc >+ proc ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Han Boetes dixit: >Hi, > >~$ proc(){ >> ls foo >> } >~$ set -x >~$ proc >+ proc >ls: foo: No such file or directory >~$ tg@odem:/home/tg $ function proc > { > ls foo > } tg@odem:/home/tg $ proc ls: foo: No such file or directory tg@odem:/home/tg $ typeset -ft proc tg@odem:/home/tg $ proc + ls foo ls: foo: No such file or directory tg@odem:/home/tg $ HTH, //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt |
| Thread Tools | |
| Display Modes | |
|
|