aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_log
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-08 23:39:06 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-08 23:39:06 +0300
commit2fffaf87923ae3e4e3541ff836062075c85138ab (patch)
tree8139f999f16d4a866942c48947658482d2e71dcb /lib/_ak_log
parentb8d0d818b2f2a34c64dc54ce622a482d0585fcd6 (diff)
downloadarching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.tar.gz
arching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.tar.bz2
arching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.zip
refactoring
Diffstat (limited to 'lib/_ak_log')
-rwxr-xr-xlib/_ak_log5
1 files changed, 4 insertions, 1 deletions
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
}