Re: помогите упростить условие bash
30.11.2013 00:48, Oleksandr Gavenko пишет:
А POSIX то не дочитали...:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05_01
2.9.5 Function Definition Command ... Exit Status The exit status of a
function definition shall be zero if the function was declared
successfully; otherwise, it shall be greater than zero. The exit
status of a function invocation shall be the exit status of the last
command executed by the function.
Вот тебе и чтение манов на ночь )
Спасибо. Закоммитил.
--
--
Best regards,
Vladimir Skubriev
Reply to: