From 2fffaf87923ae3e4e3541ff836062075c85138ab Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 8 Jul 2024 23:39:06 +0300 Subject: refactoring --- lib/_ak_log | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/_ak_log b/lib/_ak_log index df144bd..9e56606 100755 --- a/lib/_ak_log +++ b/lib/_ak_log @@ -37,7 +37,10 @@ _ak_log_grep(){ 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 + grep $x $AK_LOGSFILE | while read line + do + _ak_log_print_log_line "$line" + done break done } -- cgit v1.2.3