Commit af99a5a2 authored by Sébastien Villemot's avatar Sébastien Villemot

More explicit Bash primitive name

parent 93a01a85
......@@ -19,8 +19,8 @@ do
for dir in "${arr[@]}"
do
mkdir -p "$dir"
mapfile -t filenames < <(jq .[].filename "$dir.json")
mapfile -t timestamps < <(jq .[].date "$dir.json")
readarray -t filenames < <(jq .[].filename "$dir.json")
readarray -t timestamps < <(jq .[].date "$dir.json")
n=$(jq length "$dir.json")
cd "$dir"
for ((i = 0; i < n; i++))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment