script: remove function keyword #33

Closed
nnzv wants to merge 1 commits from patchs into master
nnzv commented 2022-08-17 00:36:44 +03:00 (Migrated from github.com)

Old bash versions don't support function keyword. Keep the script more portable.

Old bash versions don't support function keyword. Keep the script more portable.
ValdikSS commented 2022-08-26 17:37:12 +03:00 (Migrated from github.com)

Which version? What distributions do include it?

Which version? What distributions do include it?
ValdikSS commented 2022-08-26 17:43:36 +03:00 (Migrated from github.com)

Bash 3.2, released in 2006, supports function keyword, as well as Bash 3.0 from 2004.

Bash 3.2, released in 2006, supports `function` keyword, as well as Bash 3.0 from 2004.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.