bugfix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
italic="\033[3m"
|
||||
#underline="\033[4m"
|
||||
bgd="\033[1;4;31m"
|
||||
@@ -21,6 +22,7 @@ if ! command -v exiftool &> /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ ! -f "$file" ] && echo -e "${bold}${red}No input file !${reset}" && exit 1
|
||||
|
||||
# dico français / anglais
|
||||
|
||||
@@ -134,7 +136,7 @@ wild=("wildlife" "wildlifephoto" "wildlifephotographer")
|
||||
# #natureshots #naturelover #nature
|
||||
nat=("naturelovers" "natureshot" "naturephotography")
|
||||
# #jura franchecomte
|
||||
reg=("Bourgogne" "Burgundy" "Bourgogne Franche-Comté" "Côte d'or" "cotedor")
|
||||
reg=("Bourgogne" "Burgundy" "Bourgogne Franche-Comté" "Côte d'or")
|
||||
|
||||
for i in "${wild[@]}"
|
||||
do
|
||||
@@ -219,6 +221,7 @@ if ! command -v gawk &> /dev/null; then
|
||||
echo -e " - brew install gawk"
|
||||
echo -e ""
|
||||
else
|
||||
keywords_flickr=$(echo "$keywords_flickr" | gawk -v RS="[ \n]" -v ORS=" " '!($0 in a){print;a[$0]}')
|
||||
keywords_insta=$(echo "$keywords_insta" | gawk -v RS="[ \n]" -v ORS=" " '!($0 in a){print;a[$0]}')
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user