/[emacs]/emacs/lisp/eshell/em-pred.el
ViewVC logotype

Diff of /emacs/lisp/eshell/em-pred.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7.4.3 by miles, Sat Feb 28 05:41:58 2004 UTC revision 1.7.4.4 by miles, Thu Sep 16 00:12:22 2004 UTC
# Line 186  OWNERSHIP: Line 186  OWNERSHIP:
186    
187  FILE ATTRIBUTES:  FILE ATTRIBUTES:
188    l[+-]N                 +/-/= N links    l[+-]N                 +/-/= N links
189    a[Mwhm][+-](N|'FILE')  access time +/-/= N mnths/weeks/days/mins    a[Mwhms][+-](N|'FILE') access time +/-/= N mnths/weeks/hours/mins/secs
190                           if FILE specified, use as comparison basis;                           (days if unspecified) if FILE specified,
191                           so a+'file.c' shows files accessed before                           use as comparison basis; so a+'file.c'
192                           file.c was last accessed                           shows files accessed before file.c was
193    m[Mwhm][+-](N|'FILE')  modification time...                           last accessed
194    c[Mwhm][+-](N|'FILE')  change time...    m[Mwhms][+-](N|'FILE') modification time...
195      c[Mwhms][+-](N|'FILE') change time...
196    L[kmp][+-]N            file size +/-/= N Kb/Mb/blocks    L[kmp][+-]N            file size +/-/= N Kb/Mb/blocks
197    
198  EXAMPLES:  EXAMPLES:
# Line 409  returning the resultant string." Line 410  returning the resultant string."
410    "Return a predicate to test whether a file matches a certain time."    "Return a predicate to test whether a file matches a certain time."
411    (let* ((quantum 86400)    (let* ((quantum 86400)
412           qual amount when open close end)           qual amount when open close end)
413      (when (memq (char-after) '(?M ?w ?h ?m))      (when (memq (char-after) '(?M ?w ?h ?m ?s))
414        (setq quantum (char-after))        (setq quantum (char-after))
415        (cond        (cond
416         ((eq quantum ?M)         ((eq quantum ?M)

Legend:
Removed from v.1.7.4.3  
changed lines
  Added in v.1.7.4.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26