Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTML、CSS、およびJavaScriptファイルの場合、ソースディレクトリで実行してKSLOCを取得するための優れたツールは何ですか?
wc -l良いスタートです。
wc -l
grep -v -P "^\s*$" -R dir/ | wc -l
空白行を無視する行数を示します。