Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

2014-05-15から1日間の記事一覧

テキストデータの行数や文字数をカウントしたい場合はwcコマンドを使う

wcは"word, line, character, and byte count"との説明通り、文字数や行数を数えるコマンドです。 原則オプションと組み合わせて使います。 -m The number of characters in each input file is written to the standard output. If the current locale does…