feat: Basic attachment support

This commit is contained in:
2025-06-17 08:38:15 +02:00
parent cb84445159
commit c39c45a23a
6 changed files with 280 additions and 2 deletions

10
src/awk/has.awk Normal file
View File

@@ -0,0 +1,10 @@
## src/awk/has.awk
## Decide if VEVENT file has a specific field.
##
## @assign field: Field name
# AWK program
BEGIN { FS = "[:;]" }
/^BEGIN:VEVENT$/ { ins = 1 }
/^END:VEVENT$/ { exit 1 }
ins && $1 == field { exit 0 }