print 'Hello YKazu'

('Python', 'Javascript')

2016-06-15から1日間の記事一覧

書式指定のprintf

a="The man" b="is Yoshida" # $aと$bをダブルクォーテーションで囲む必要が有ることに注意 c=$(printf "%s %s." "$a" "$b") echo $c # The man is Yoshida.

日付・時刻の取得

branch='master' today=`date +%Y%m%d_%H%M%S` echo ${branch}_${today} # master_20160615_035307