aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}