Skip to content

Commit 4e147a5

Browse files
authored
Merge branch 'linuxcodevserver:main' into main
2 parents 4c17ddb + b56088f commit 4e147a5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

write.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ while true
4444
echo "3) CSS"
4545
echo "4) Python"
4646
echo "5) その他(自動認識)"
47-
read -p "> " lang
47+
read -p "言語(1-5)> " lang
4848
case "$lang" in
49-
1) lang="lang-bash" ;;
50-
2) lang="lang-html" ;;
51-
3) lang="lang-css" ;;
52-
4) lang="lang-python" ;;
49+
1) lang=" lang-bash" ;;
50+
2) lang=" lang-html" ;;
51+
3) lang=" lang-css" ;;
52+
4) lang=" lang-python" ;;
53+
5) lang="" ;;
5354
esac
54-
echo -n '<pre class="prettyprint><code class="prettyprint '${lang}'>' >> $fn
55+
echo -n '<pre class="prettyprint><code class="prettyprint'${lang}'>' >> $fn
5556
fi
5657
if [ "$b" = "blogwriter.commands.code.end" ]
5758
then

0 commit comments

Comments
 (0)