9.1-RELEASE-p3
---------------
#!/bin/sh

sh_f ()
{
    global_scope_var=7463457
}

yes | sh_f
echo "$global_scope_var"

echo '
Now without /usr/bin/yes (maybe it is STDIN issue, instead) ?!?
'

sh_f
echo "$global_scope_var"
---------------


Domagoj Smolčić
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to