We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbe74e commit a81abdbCopy full SHA for a81abdb
answer/74.md
@@ -1,6 +1,6 @@
1
### 解答
2
```
3
-$ cat days.txt | awk -F'[^0-9]' '{printf "%d %02d %02d\n",$1,$2,$3,$0}' | awk '{if($1$2<"201905"){a="337B";$1-=1988}else{a="32FF";$1-=2018}print "echo -e \\\\U"a,$1"年"$2"月"$3"日"}' | bash | sed 's/ 1年/ 元年/' | tr -d ' ' | sed 's/年0/年/;s/月0/月/'
+$ cat days.txt | awk -F'[^0-9]' '{printf "%d %02d %02d\n",$1,$2,$3}' | awk '{if($1$2<"201905"){a="337B";$1-=1988}else{a="32FF";$1-=2018}print "echo -e \\\\U"a,$1"年"$2"月"$3"日"}' | bash | sed 's/ 1年/ 元年/' | tr -d ' ' | sed 's/年0/年/;s/月0/月/'
4
5
### 別解
6
0 commit comments