#2 Fix the shellcheck SC2207 and remove the ignore declarative

Closed
opened 3 years ago by vaeringjar · 0 comments

https://notabug.org/vaeringjar/fenrisg/src/main/src/build_rss.sh#L78

    IFS=$'\n' sorted=($(sort --reverse <<<"${arra2[*]}")); unset IFS
                      ^-- SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
https://notabug.org/vaeringjar/fenrisg/src/main/src/build_rss.sh#L78 ``` IFS=$'\n' sorted=($(sort --reverse <<<"${arra2[*]}")); unset IFS ^-- SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting). ```
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.