From 9a05f56e1bf36abab41d12f92f2c75266c44bd4a Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 19:52:52 +0100 Subject: Clean - HARDINFO2 BASE --- test/ws_scan.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 test/ws_scan.sh (limited to 'test/ws_scan.sh') diff --git a/test/ws_scan.sh b/test/ws_scan.sh deleted file mode 100644 index d22586f8..00000000 --- a/test/ws_scan.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!bash - -# checks for mixed indentation and empty lines with whitespace -# run from test/ - -cd .. -grep -lHIrP --include=*.{h,c} -- '^((\t+ +)|( +\t+)|\s+$)' | sed 's/^/- [ ] /' > test/hardinfo-bad.txt -grep -LHIrP --include=*.{h,c} -- '^((\t+ +)|( +\t+)|\s+$)' | sed 's/^/- [x] /' > test/hardinfo-good.txt -cat test/hardinfo-bad.txt test/hardinfo-good.txt | LC_ALL=C sort -k 1.5 | grep -vP " (test|build|deps)" -rm test/hardinfo-bad.txt test/hardinfo-good.txt -cd test -- cgit v1.2.3