rossturk commented on PR #623: URL: https://github.com/apache/airflow-site/pull/623#issuecomment-1196330859
> ./check-links.sh: line 61: readarray: command not found @Bowrna I think this has to do with the version of bash. If I try this on my M1 Mac, I get an error: ```bash bash-3.2$ bash -version bash -version GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21) Copyright (C) 2007 Free Software Foundation, Inc. bash-3.2$ readarray foo < <(ls -al) readarray foo < <(ls -al) ls -al bash: readarray: command not found ``` But if I try it on my Linux machine, I get this: ```bash rturk@caymus:~$ bash --version GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. rturk@caymus:~$ readarray foo < <(ls -al) rturk@caymus:~$ echo ${foo[8]} drwxr-xr-x 2 rturk caymus 4096 Oct 6 2021 .dbt ``` I think perhaps the `CONTRIBUTING.md` should instruct folks to install bash from Homebrew. I haven't tested it myself, but this looks promising: ``` % brew info bash bash: stable 5.1.16 (bottled), HEAD ... ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
