Affichage du nom du fichier d’export (html ou md)

This commit is contained in:
2024-10-18 09:48:09 +02:00
parent 8264db80e9
commit 84568c355f

View File

@@ -8,6 +8,7 @@ green="\033[0;32m"
yellow="\033[0;33m"
yellowbold="\033[1;33m"
bold="\033[1m"
italic="\033[3m"
#bold_under="\033[1;4m"
underline="\033[4m"
reset="\033[0m"
@@ -139,7 +140,7 @@ req2() {
html
elif [ $ext = ".md" ]; then
echo -e "${yellow}Exporting markdown file...${reset}"
echo -e "${yellow}Exporting markdown file ${italic}$ScriptWorkDir/liste_oiseaux$ext !${reset}"
bird=$(echo "$birds" | sed 's/\
//g')
echo -e "$bird" > "liste_oiseaux$ext"
@@ -149,7 +150,7 @@ req2() {
}
html() {
echo -e "${yellow}Exporting html file ${italic}$ScriptWorkDir/liste_oiseaux.html !${reset}"
cat > liste_oiseaux.html << EOF