From cefcd1779e6a1830e18c5330c478f40629130085 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 1 Aug 2021 08:07:55 -0700 Subject: [PATCH] add an example for cdbusiest --- sh/cdbusiest | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sh/cdbusiest b/sh/cdbusiest index f8d669b..14180b4 100755 --- a/sh/cdbusiest +++ b/sh/cdbusiest @@ -3,6 +3,14 @@ cdbusiest() { ### @- ### cd to the directory with the most files in it, counted recursively. + ### + ### ``` + ### $ cd + ### $ cdbusiest + ### 152364 src + ### $ pwd + ### /home/notwa/src + ### ``` dbusiest | read -r c d [ -z $c ] && return 1 printf "%s\n" "$c $d"