Use note: lines for HTML metadata, not # comments
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,7 +45,8 @@ esac
|
||||
|
||||
SAMPLE_COUNT=0
|
||||
if [[ -f samples.txt ]]; then
|
||||
SAMPLE_COUNT="$(grep -cv '^#\|^$' samples.txt || true)"
|
||||
SAMPLE_COUNT="$(grep -v '^#' samples.txt | grep -iv '^[[:space:]]*note:' \
|
||||
| grep -cv '^[[:space:]]*$' || true)"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user