Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sorting 命令在AIX中每月对3个字母进行排序_Sorting - Fatal编程技术网

Sorting 命令在AIX中每月对3个字母进行排序

Sorting 命令在AIX中每月对3个字母进行排序,sorting,Sorting,有一个包含以下值的文件: 2016年9月17日11:07 2018年1月3日20:33 2015年4月14日11:53 2017年12月28日07:28 2011年8月10日11:55 2017年12月25日17:53 在其他风格的UNIX操作系统中有sort-M选项。但是在AIX中没有运气。 请每月帮我整理3封信。提前谢谢 使用sed转换文件:sed的/^Jan/01/。。。s/^11/11/;s/^Dec/12/'fromfile>tofile它有帮助!:)非常感谢,洛伦奇。

有一个包含以下值的文件: 2016年9月17日11:07 2018年1月3日20:33 2015年4月14日11:53 2017年12月28日07:28 2011年8月10日11:55 2017年12月25日17:53

在其他风格的UNIX操作系统中有sort-M选项。但是在AIX中没有运气。
请每月帮我整理3封信。提前谢谢

使用
sed
转换文件:
sed的/^Jan/01/。。。s/^11/11/;s/^Dec/12/'fromfile>tofile
它有帮助!:)非常感谢,洛伦奇。