我有一个 json 文件,其中包含以下示例代码行:
[{"tarih":"20130824","tarihView":"24-08-2013"},{"tarih":"20130817","tarihView":"17-08-2013"},{"tarih": "20130810","tarihView":"10-08-2013"},{"tarih":"20130803","tarihView":"03-08-2013"},{"tarih":"20130727","tarihView ":"27-07-2013"},{"tarih":"20130720","tarihView":"20-07-2013"},{"tarih":"20130713","tarihView":"13-07 -2013"},{"tarih":"20130706","tarihView":"06-07-2013"}]
我需要将 yy/mm/dd 格式的所有日期提取为具有正确行尾的文本格式:
20130824
20130817
20130810
20130803
...
20130706
如何使用 sed 或类似的控制台实用程序来做到这一点?
非常感谢您的帮助。