- if LOCK "$meta"; then
- grep -avF " $fn" "$meta" >"${meta}.tmp"
-
- printf '%i %i %i tags=%s comment=%s %s\n' \
- "$length" "$width" "$height" "$tags" \
- "${comment#comment=}" "$fn" \
- >>"${meta}.tmp"
- mv "${meta}.tmp" "$meta"
-
- RELEASE "$meta"
- fi