by shigemk2

当面は技術的なことしか書かない

wc メモ

     -L      Write the length of the line containing the most bytes (default) or characters (when -m is provided) to standard
             output.  When more than one file argument is specified, the longest input line of all files is reported as the
             value of the final “total”.

     -c      The number of bytes in each input file is written to the standard output.  This will cancel out any prior usage of
             the -m option.

     -l      The number of lines in each input file is written to the standard output.

     -m      The number of characters in each input file is written to the standard output.  If the current locale does not
             support multibyte characters, this is equivalent to the -c option.  This will cancel out any prior usage of the -c
             option.

     -w      The number of words in each input file is written to the standard output.

ので、ディレクトリのファイル数はおとなしく ls | wc -lとかするしかない