查询当前目录代码行数

find . -name "*.c"|xargs wc -l 

parking$ find . -name "*.cpp"|xargs wc -l
32 ./test/test_parking_localization_manager.cpp
255 ./tools/benchmark/parking/app/main.cpp
106 ./src/navigation/routing_path_provider.cpp
832 ./src/navigation/hpp_parking_navigation_builder.cpp
430 ./src/navigation/avp_parking_navigation_builder.cpp
101 ./src/navigation/base_navigation_builder.cpp
431 ./src/search/map_around_search_helper.cpp
257 ./src/localization/parking_localization_manager.cpp
918 ./src/routing_path/map_routing_path.cpp
1210 ./src/routing_path/parking_space_routing_search.cpp
1389 ./src/routing_path/routing_search.cpp
558 ./src/common/parking_retriever.cpp
302 ./src/common/map_parking_param.cpp
6821 总用量

find . -name "*.cpp"|xargs wc -l 

posted on 2022-04-24 18:17  kenny.wmh  阅读(89)  评论(0编辑  收藏  举报

导航