| Line | |
|---|
| 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
TracBrowser
for help on using the repository browser.