Browse Source

Plan 9 from Bell Labs 2011-05-25

David du Colombier 13 years ago
parent
commit
b5059a0ad7
1 changed files with 10 additions and 1 deletions
  1. 10 1
      sys/man/1/seconds

+ 10 - 1
sys/man/1/seconds

@@ -15,7 +15,7 @@ Each
 must be
 .I one
 argument;
-it may be necessary to enclose it in quotes.
+it will usually be necessary to enclose it in quotes.
 .PP
 .I Seconds
 accepts a somewhat wider range of input than just output from
@@ -30,9 +30,18 @@ Unambiguous time-zone names are understood (i.e., not
 or time zones may be written as
 .IR ±hhmm .
 Case is ignored.
+.SH EXAMPLES
+Print the names of all files under
+.L \&.
+modified since the start of 23 May 2011.
+.IP
+.EX
+du -ta | awk '$1 >= '^`{seconds '23 may 2011'}^' {print $2}'
+.EE
 .SH SEE ALSO
 .IR date (1),
 .IR du (1),
+.IR mtime (1),
 .IR ctime (2)
 .SH BUGS
 All-numeric dates, popular in the USA, are simply ambiguous,