Commit 07405b3a authored by Bastien Le Querrec's avatar Bastien Le Querrec
Browse files

rename script to get AN's data

parent 3b66c05f
......@@ -25,7 +25,7 @@ find data/an/json/acteur/ -type f | sed 's/\.json//i' | sed 's/data\/an\/json\/a
done
fi
phoneChamber=$(jq -r "map(select(.name==\"${first_name} ${last_name}\")) | .[].phone" "an-deputes-phones.json" | tr -d ' .')
phoneChamber=$(jq -r "map(select(.name==\"${first_name} ${last_name}\")) | .[].phone" "an-phones.json" | tr -d ' .')
if [ ! -z "$phoneChamber" ]; then
phone=$(echo "${phone}" | sed "s/${phoneChamber}//g" | sort)
......
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