summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2015-01-23 15:19:42 -0600
committerPaul Varner <fuzzyray@gentoo.org>2015-01-23 15:19:42 -0600
commit6f5d03a6bd34f684331837575560babfa91899ea (patch)
treef5277417954f4f52096d2f9e9690c2df6b4f0cc0 /bin
parenteclean: fix typos in man page and line wrap long lines (diff)
downloadgentoolkit-6f5d03a6bd34f684331837575560babfa91899ea.tar.gz
gentoolkit-6f5d03a6bd34f684331837575560babfa91899ea.tar.bz2
gentoolkit-6f5d03a6bd34f684331837575560babfa91899ea.zip
Fix eread to only display elog files. (Bug 534686)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/eread6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/eread b/bin/eread
index d74a167..fe095a6 100755
--- a/bin/eread
+++ b/bin/eread
@@ -34,13 +34,13 @@ PS3="Choice? "
SORT=${EREAD_SORT_ORDER}
find_unsorted() {
- find . -type f | sed -e "s:\./::g"
+ find . -name '*:*:*.log*' | sed -e "s:\./::g"
}
find_by_name() {
- find . -type f | sort | sed -e "s:\./::g"
+ find . -name '*:*:*.log*' | sort | sed -e "s:\./::g"
}
find_by_time() {
- find . -type f | sort -k 3 -t : | sed -e "s:\./::g"
+ find . -name '*:*:*.log*' | sort -k 3 -t : | sed -e "s:\./::g"
}
find_files() {
case ${SORT} in