Affichage du nom du fichier d’export (html ou md)
This commit is contained in:
@@ -8,6 +8,7 @@ green="\033[0;32m"
|
|||||||
yellow="\033[0;33m"
|
yellow="\033[0;33m"
|
||||||
yellowbold="\033[1;33m"
|
yellowbold="\033[1;33m"
|
||||||
bold="\033[1m"
|
bold="\033[1m"
|
||||||
|
italic="\033[3m"
|
||||||
#bold_under="\033[1;4m"
|
#bold_under="\033[1;4m"
|
||||||
underline="\033[4m"
|
underline="\033[4m"
|
||||||
reset="\033[0m"
|
reset="\033[0m"
|
||||||
@@ -139,7 +140,7 @@ req2() {
|
|||||||
html
|
html
|
||||||
elif [ $ext = ".md" ]; then
|
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/\
|
bird=$(echo "$birds" | sed 's/\
|
||||||
//g')
|
//g')
|
||||||
echo -e "$bird" > "liste_oiseaux$ext"
|
echo -e "$bird" > "liste_oiseaux$ext"
|
||||||
@@ -149,7 +150,7 @@ req2() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html() {
|
html() {
|
||||||
|
|
||||||
echo -e "${yellow}Exporting html file ${italic}$ScriptWorkDir/liste_oiseaux.html !${reset}"
|
echo -e "${yellow}Exporting html file ${italic}$ScriptWorkDir/liste_oiseaux.html !${reset}"
|
||||||
|
|
||||||
cat > liste_oiseaux.html << EOF
|
cat > liste_oiseaux.html << EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user