From: Nicolas Boisselier Date: Fri, 7 Aug 2015 20:28:44 +0000 (+0100) Subject: find_sort_mtime all files X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=67298bc056b4709508238cb2b9b38f964b411ec6;p=nb.git find_sort_mtime all files --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 1695cfa5..cf3cbba8 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -187,7 +187,7 @@ find_sort_mtime() { else find $@ -type f -printf "%T@\t%p\n" | sed 's/^\([0-9]\+\)\.0\+/\1/' fi - ) | sort -k1 -n | cut -f 2 | head + ) | sort -k1 -n | cut -f 2 } replace_tag_content() {