Changeset 1837 for trunk/tools/validate-stil.bat
- Timestamp:
- Feb 23, 2026, 11:19:30 PM (4 hours ago)
- File:
-
- 1 edited
-
trunk/tools/validate-stil.bat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/validate-stil.bat
r828 r1837 1 grep -E " $" ../asma/Docs/STIL.txt 2 grep -E ".{100}" ../asma/Docs/STIL.txt 3 grep -v -n -E "^#|^/|^ NAME: |^ TITLE: |^ ARTIST: |^COMMENT: |^ |^$|\(#[0-9]+\)$" ../asma/Docs/STIL.txt 4 perl -ne "m{^/(\S+)} and (-e qq{../asma/$1} or print)" ../asma/Docs/STIL.txt 5 @rem grep "^/" ../asma/Docs/STIL.txt | sort -cfg 6 grep -c "^/" ../asma/Docs/STIL.txt 1 @echo off 2 setlocal 3 set STIL=../asma/Docs/STIL.txt 4 echo Lines with leading spaces: 5 grep -E " $" %STIL% 6 echo Lines exceeding 100 characters: 7 grep -E ".{100}" %STIL% 8 echo Lines not matching the format: 9 grep -v -n -E "^#|^/|^ NAME: |^ TITLE: |^ ARTIST: |^COMMENT: |^ |^$|\(#[0-9]+\)$" %STIL% 10 echo Lines that ...??? 11 perl -ne "m{^/(\S+)} and (-e qq{../asma/$1} or print)" %STIL% 12 echo Number of file paths: 13 grep -c "^/" %STIL%
Note:
See TracChangeset
for help on using the changeset viewer.
