When I run this command,
grep _rlnAveragePmax *model*
I get this output:
run_ct6_it006_model.star:_rlnAveragePmax 0.153500
run_ct6_it007_model.star:_rlnAveragePmax 0.096772
run_it000_model.star:_rlnAveragePmax 0.000000
run_it001_model.star:_rlnAveragePmax 0.008995
run_it002_model.star:_rlnAveragePmax 2.517429e-04
run_it003_model.star:_rlnAveragePmax 0.003727
run_it004_model.star:_rlnAveragePmax 0.056681
run_it005_model.star:_rlnAveragePmax 0.109754
run_it006_model.star:_rlnAveragePmax 0.153500
But the above output is sorted alphabetically. If we sorted them by time+date created, the output should look like this:
run_it000_model.star:_rlnAveragePmax 0.000000
run_it001_model.star:_rlnAveragePmax 0.008995
run_it002_model.star:_rlnAveragePmax 2.517429e-04
run_it003_model.star:_rlnAveragePmax 0.003727
run_it004_model.star:_rlnAveragePmax 0.056681
run_it005_model.star:_rlnAveragePmax 0.109754
run_it006_model.star:_rlnAveragePmax 0.153500
run_ct6_it006_model.star:_rlnAveragePmax 0.153500
run_ct6_it007_model.star:_rlnAveragePmax 0.096772
What do I have to do to my grep command to get the output sorted by time+date created?
zsh
. – Wildcard Dec 14 '16 at 00:05