factor now accepts the --exponents (-h) option to print factors
in the form p^e, rather than repeating the prime p, e times.
+ ls now supports the --time=modification option, to explicitly
+ select the default mtime timestamp for display and sorting.
+
** Improvements
date --debug now diagnoses if multiple --date or --set options are
sort according to the atime.
@xref{File timestamps}.
+@item --time=mtime
+@itemx --time=modification
+@opindex --time
+@opindex data modification time@r{, printing or sorting files by}
+@opindex mtime@r{, printing or sorting files by}
+This is the default timestamp display and sorting mode.
+In long format, print the last data modification timestamp (the mtime).
+When sorting by time or when not using long format,
+sort according to the mtime.
+@xref{File timestamps}.
+
@item --time=birth
@itemx --time=creation
@opindex --time
{
"atime", "access", "use",
"ctime", "status",
+ "mtime", "modification",
"birth", "creation",
NULL
};
{
time_atime, time_atime, time_atime,
time_ctime, time_ctime,
+ time_mtime, time_mtime,
time_btime, time_btime,
};
ARGMATCH_VERIFY (time_args, time_types);
\n\
"), stdout);
fputs (_("\
- --time=WORD change the default of using modification times;\n\
+ --time=WORD select which timestamp used to display or sort;\n\
access time (-u): atime, access, use;\n\
metadata change time (-c): ctime, status;\n\
+ modified time (default): mtime, modification;\n\
birth time: birth, creation;\n\
with -l, WORD determines which time to show;\n\
with --sort=time, sort by WORD (newest first)\n\
ln c d || framework_failure_
# Before we go any further, verify that touch's -m option works.
-set -- $(ls --full -l a)
+set -- $(ls --full -l --time=mtime a)
case "$*" in
*" $t3:00.000000000 +0000 a") ;;
*)