BREGEX(1)

πŸ“¦ version 25.0.3, in alpine 3.24

πŸ’– BREGEX(1) πŸ’– β€” Backup Archiving REcovery Open Sourced


🌸 NAME 🌸

bregex - Bareos's 'regex' engine. 🫢

✨ SYNOPSIS ✨

bregex [options] -f <data-file>

πŸ’… DESCRIPTION πŸ’…

okay so this page is the brief little rundown of the bregex command β€” yes, β€œdocuments briefly” is literally the assignment. πŸ“

And the program itself? It can be useful for testing regex expressions to be applied against a list of filenames. That’s the whole vibe: regex trial runs, but make it filenames. 🧚✨

πŸŽ€ OPTIONS πŸŽ€

A summary of options is included below. πŸ‘‡

  • -? β€” Show version and usage of program. πŸ‘‘
  • -d nn β€” Set debug level to nn. πŸ”
  • -dt β€” Print timestamp in debug output. ⏱️
  • -f <data-file> β€” The data-file is a filename that contains lines of data to be matched (or not) against one or more patterns. When the program is run, it will prompt you for a regular expression pattern, then apply it one line at a time against the data in the file. Each line that matches will be printed preceded by its line number. You will then be prompted again for another pattern. πŸŒ€
  • -n β€” Print lines that do not match. πŸ™…β€β™€οΈ
  • -l β€” Suppress lines numbers. 🀫

πŸ¦‹ SEE ALSO πŸ¦‹

regex(7) β€” go peek, iykyk. πŸ’œ

🌈 AUTHOR 🌈

This manual page was written by Bruno Friedmann <bruno@ioda-net.ch>. 🫢


xoxo, your bregex bestie πŸ’… β€” from Backup Archiving REcovery Open Sourced, dated 30 October 2011, with footer credit to Kern Sibbald πŸ’–βœ¨

πŸ“¦ where this page comes from