about summary refs log tree commit diff
path: root/mless
diff options
context:
space:
mode:
Diffstat (limited to 'mless')
-rwxr-xr-xmless2
1 files changed, 1 insertions, 1 deletions
diff --git a/mless b/mless
index 384794a..6111a60 100755
--- a/mless
+++ b/mless
@@ -26,7 +26,7 @@ function so(s) { return sprintf("\033[1m%s\033[0m", s) }
 }
 
 mnums() {
-	mscan "$@" 2>/dev/null | awk '/^...[^ ]/{print $2}'
+	mscan "$@" 2>/dev/null | awk '$2 ~ /^[0-9]*$/ { print $2 }'
 }
 
 if [ "$1" = --filter ]; then