diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-08 23:39:06 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-08 23:39:06 +0300 |
commit | 2fffaf87923ae3e4e3541ff836062075c85138ab (patch) | |
tree | 8139f999f16d4a866942c48947658482d2e71dcb /lib | |
parent | b8d0d818b2f2a34c64dc54ce622a482d0585fcd6 (diff) | |
download | arching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.tar.gz arching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.tar.bz2 arching-kaos-tools-2fffaf87923ae3e4e3541ff836062075c85138ab.zip |
refactoring
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_log | 5 |
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 } |