* doc/find.texi (node Updating A Timestamp File): Use more portable
'tail -n1' instead of the deprecated form 'tail -1'.
---
 doc/find.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/find.texi b/doc/find.texi
index 634dfb28..1e15d939 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -4807,7 +4807,7 @@ It is possible to use the @samp{-printf} action to 
abandon the use of
 @smallexample
 newest=$(find subdir -newer timestamp -printf "%A@:%p\n" |
            sort -n |
-           tail -1 |
+           tail -n1 |
            cut -d: -f2- )
 touch -r "$@{newest:-timestamp@}" timestamp
 @end smallexample
-- 
2.19.1


Reply via email to