Skip to content

Commit

Permalink
[tests] Add the magic script for generate_cxrefs test
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Jan 23, 2025
1 parent a09e94d commit 20a1c48
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/test_generate_cxrefs/extract_vApplClass.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
awk '
/^\S/ {
if (section ~ /vApplClass/) {
printf "%s", section
exit
}
section = "" # Börja en ny sektion
}
{
section = section $0 "\n"
}
' $1

0 comments on commit 20a1c48

Please sign in to comment.