Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/fortune/datfiles -h doesn't sort numerically, pointed ...



details:   https://anonhg.NetBSD.org/src/rev/12997fc2e35d
branches:  trunk
changeset: 372005:12997fc2e35d
user:      nia <nia%NetBSD.org@localhost>
date:      Tue Oct 25 19:33:00 2022 +0000

description:
-h doesn't sort numerically, pointed out by various

diffstat:

 games/fortune/datfiles/netbsd-tips |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 5f6225620c5c -r 12997fc2e35d games/fortune/datfiles/netbsd-tips
--- a/games/fortune/datfiles/netbsd-tips        Tue Oct 25 15:44:02 2022 +0000
+++ b/games/fortune/datfiles/netbsd-tips        Tue Oct 25 19:33:00 2022 +0000
@@ -1,6 +1,6 @@
 List 20 largest files (larger than 5 MB) sorted by megabytes:
 
- find . -type f -size +10000 -exec du -h {} + | sort -nr | head -20
+ find . -type f -size +10000 -exec du -m {} + | sort -nr | head -20
 %
 You can keep specific rc.conf configurations in individual files
 under /etc/rc.conf.d/ where each file is named after the $name of



Home | Main Index | Thread Index | Old Index