* [email protected] <[email protected]> [2023-05-26 01:14]:
> This works fine if you check for a specific tag value, but it doesn't work 
> if you want to check for a tag without a value. check value != "" ,or check 
> value != '' or a similar regex don't raise any warnings.
> 
> Is there a way to check if a tag has no value?

This works for me:

-l 'has_tag("foo")' -l 'tag("foo") !~ /./'

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20230526085637.GA524428%40jirafa.cyrius.com.

Reply via email to