https://itgram.orsinium.dev/posts/rus/2018-04-15-shell-functools/
shell-functools