om

om - the most recently modified file in a directory
git clone git://git.larryhynes.net/om
Log | Files | Refs | README

commit 3bde9def2a35e8776571bdff75c468bb2e919578
parent 186926aad270d480175c4fde7dc76f118eab1ae1
Author: Larry Hynes <larry@larryhynes.com>
Date:   Mon,  3 Jul 2017 15:14:59 +0100

Man page

Diffstat:
om.1 | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/om.1 b/om.1 @@ -3,7 +3,7 @@ .Os .Sh NAME .Nm om -.Nd the most recently modified file in a directory +.Nd print the most recently modified file in a directory .Sh SYNOPSIS .Nm om .Op Ar directory @@ -11,8 +11,9 @@ .Nm identifies the most recently modified regular file in the given .Ar directory -and prints the name of that file, possibly preceded by a path component, -on stdout. +and prints the name of that file, +preceded by a path component, +to the standard output. .Sh EXAMPLES vi "$( .Nm @@ -38,3 +39,6 @@ mpv ` .Nm .Ar dl ` +.Sh CAVEATS +The file that one thinks will be the most recently modified +may not always be so.