We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fb08d commit ab2ef4eCopy full SHA for ab2ef4e
scripts/prepare_newsletter.sh
@@ -12,9 +12,13 @@ echo ${news[-1]}
12
13
export last_news=`echo ${news[-1]} | sed -r s/0//`
14
export news_to_create_simple=`echo $((last_news+1))`
15
+
16
echo $news_to_create_simple
17
printf "%#03s" $news_to_create_simple
-export news_to_create=`printf "%#03s" $news_to_create_simple`
18
19
+printf %03d $news_to_create_simple
20
21
+export news_to_create=$(printf %03d $news_to_create_simple)
22
echo $news_to_create
23
read -e -p "Do you want to create issue $news_to_create? (y/n): " choice
24
0 commit comments