Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の文字列を使用して、目的の結果をワンライナーとして取得するためのより効率的な方法を探しています
date -d @1381219358 | sed 's/\ \ /\ /g' | sed 's/[:\ ]/-/g' | sed 's/2013/13/' | awk -F '-' '{print $4"-"$5"-"$6"-"$2"-"$3"-"$8}'
目的の結果出力は次のとおりです。
04-02-38-Oct-8-13
どんな助けでもいただければ幸いです