LoginSignup
10
10

More than 5 years have passed since last update.

今が平成何年かがわかるシェルコマンド

Posted at

今が平成何年かわからないor自信がないとき,いちいち調べるのが面倒なんでサクッと作成しました.

alias hyear='echo 平成$(expr $(date +%Y) - 1988)年'

2015年中にこのコマンドを実行すると平成27年とアウトプットします.

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10