From 19b74f217261c5b05e1fe52f164b1d5c6a501b8c Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 25 Oct 2024 22:29:45 +0200 Subject: [PATCH] etc/profile.d/functions --- etc/profile.d/functions | 1 - 1 file changed, 1 deletion(-) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index bf3c0e03..308ed72a 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -537,7 +537,6 @@ ls_users() { reverse() { perl -e 'print reverse <>'; } epoch2date() { perl -M'POSIX strftime' -e 'e2d($ARGV[0]) and print "\n" and exit if @ARGV; while(<>){e2d($_)}; sub e2d(){local $_=shift;s/^(\d+)/strftime("%Y-%m-%d %H:%M:%S",localtime($1))/e; print $_}' $@; } -#function epoch2date() { perl -M'POSIX strftime' -e 'e2d while<>; sub e2d(){local $_=shift;s/^(\d+)/strftime("%Y-%m-%d %H:%M:%S",localtime($1))/e; print $_}' $@; } find_sort_mtime() { ( -- 2.47.3