BREGEX(8)

πŸ’– BREGEX(8) β€” bestie edition πŸ’–

okay so this is the manual for bregex, straight out of the Network backup, utilities corner of the universe. sit down, hydrate, let's go 🫢


✨ NAME ✨

bregex β€” Bacula's very own 'regex' engine, no cap πŸ‘‘


🌸 SYNOPSIS 🌸

bregex [options] -f <data-file>

that's it. that's the whole vibe. -f is literally the only thing that isn't optional, and honestly? iconic.


πŸ¦‹ DESCRIPTION πŸ¦‹

This manual page documents briefly the bregex command β€” short and sweet, like a good group chat message.

So what does it do? This program can be useful for testing regex expressions to be applied against a list of filenames. that's the whole job. test your regex before it goes out into the world and embarrasses you πŸ’…


πŸŽ€ OPTIONS πŸŽ€

A summary of options is included below. she's a small menu, but every item ate πŸ”₯

  • -? β€” Show version and usage of program. like, hi, who are you and how do you work πŸ’–
  • -d nn β€” Set debug level to nn. the more nn, the more she overshares.
  • -dt β€” Print timestamp in debug output. so you know exactly when the chaos happened ⭐
  • -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. it's giving ✨interactive✨ and it's lowkey the main character of this whole manpage 🧚
  • -n β€” Print lines that do not match. the haters, the antis, the "no thank you"s πŸ™ˆ
  • -l β€” Suppress lines numbers. no numbers, just vibes.

🌈 SEE ALSO 🌈

  • regex(7) β€” go read it, iykyk πŸ“š

πŸ’œ AUTHOR πŸ’œ

This manual page was written by Bruno Friedmann <bruno@ioda-net.ch>. This man page document is released under the BSD 2-Clause license.


and that's the whole page, bestie πŸ’– written by Kern Sibbald, dated 30 October 2011, living its best life as part of the BREGEX(8) manual. periodt πŸŽ€βœ¨