From 251dc634fa625e9afb60cb83b5bc5d9201007e50 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jun 2024 15:54:47 +0300 Subject: removed ak-log-{follow,grep,rotate} in favor of ak-log --- bin/ak-log-grep | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 bin/ak-log-grep (limited to 'bin/ak-log-grep') diff --git a/bin/ak-log-grep b/bin/ak-log-grep deleted file mode 100755 index 685cd0e..0000000 --- a/bin/ak-log-grep +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -PROGRAM="$(basename $0)" -descriptionString="Shows a menu to grep logfile for selected script" -source $AK_LIBDIR/_ak_script_description -if [ ! -z $1 ] && [ -n "$1" ] -then - if [ "$1" == "-h" ] || [ "$1" == "--help" ] - then - description - echo "Launch with no arguments and select from the menu that will appear" - exit 1 - fi -fi - -echo "The following scripts have entries in the log file." -echo "Select one of those by entering the number of it below and hit enter:" -select x in $(cat $AK_LOGSFILE | cut -d ' ' -f 2 | sort | uniq) -do - grep $x $AK_LOGSFILE - break -done -- cgit v1.2.3