Skip to content

How to exclude extension from printed path #2988

Answered by QuAzI
QuAzI asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, your example doesn't work for me at all
This works

rg --heading -N --sort path '^(#+\s+)' -g '2025-02-{10,11,12,13,14}.md' -r '  ' | rg --passthru '^(\d{4}-\d{2}-\d{2})\.md' -r '$1'

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@QuAzI
Comment options

Answer selected by QuAzI
@BurntSushi
Comment options

@QuAzI
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants