BZMORE(1)
Manual page for bzmore, from the General Commands Manual, section 1 ๐ okay bestie, let's get into it ๐
โจ NAME โจ
okay so bzmore and bzless are file perusal filters for looking at bzip2 compressed text on a crt screen ๐ฅ๏ธ๐
literally the whole vibe is reading compressed text without it being a mess ๐ฆ
โจ SYNOPSIS โจ
bzmore [ name ... ]
bzless [ name ... ]
โจ NOTE โจ
ngl this part is so important ๐ซถ in everything below, bzless and less can be used interchangeably with bzmore and more. same energy, different name ๐
โจ DESCRIPTION โจ
okay so bzmore is a filter that lets you look at compressed or plain text files one screenful at a time on a soft-copy terminal ๐บโจ it works on files compressed with bzip2 AND on uncompressed files, so it's giving versatile ๐
bestie, if a file doesn't exist, bzmore will look for a file with the same name plus a .bz2 suffix ๐ง
bzmore pauses after each screenful and prints --More-- at the bottom of the screen ๐ if you hit carriage return, you get one more line. if you hit space, you get another whole screenful. there are more options, which I'll list below ๐ธ
bzmore checks /etc/termcap to figure out your terminal's characteristics and the default window size ๐ฅ on a terminal that can show 24 lines, the default window is 22 lines. here's what else you can type while bzmore is paused (i is an optional integer, and it defaults to 1) ๐
i<space>โ shows i more lines. no number? you get another screenful ๐^Dโ shows 11 more lines (a "scroll" ๐). if you give an i, the scroll size becomes i ๐dโ same as^D(control-D) โจizโ same as space, except if you include an i, it becomes the new window size ๐ heads up, the window size goes back to default at the end of the current file ๐ฅบisโ skips i lines and then prints a screenful ๐ฆifโ skips i screenfuls and then prints a screenful ๐qorQโ quits the current file and moves on to the next one (if there is one) ๐eorqโ when you see--More--(Next file: file), this makesbzmoreexit ๐sโ when you see--More--(Next file: file), this makesbzmoreskip the next file and keep going ๐ซถ=โ shows the current line number ๐ขi/exprโ searches for the i-th occurrence of the regular expressionexpr๐ if it isn't found,bzmoremoves on to the next file (if any). if it IS found, you get a screenful starting two lines before the match ๐ญ you can use your erase and kill characters to edit the regex, and if you erase back past the first column, the search gets cancelled ๐inโ searches for the i-th occurrence of the last regular expression you entered โจ!commandโ invokes a shell withcommand๐ the character!in "command" gets replaced with the previous shell command, and the sequence\!gets replaced with!๐ง:qor:Qโ same asqorQ, quits the current file and moves to the next (if any) ๐.โ (dot) repeats the previous command ๐
no cap, these commands take effect immediately, so you don't need to hit carriage return ๐ before you type the command character itself, you can hit your line kill character to cancel the number you were building ๐งน you can also hit your erase character to bring back the --More-- message ๐ซง
โ ๏ธ bestie, at any time when output is going to the terminal, you can hit the quit key (usually control-).bzmorewill stop sending output and show the usual--More--prompt. then you can type any of the commands above like normal. BUT some output gets lost when you do this, because any characters waiting in the terminal's output queue get flushed when the quit signal happens ๐ญ๐
bzmore sets the terminal to noecho mode so the output can keep flowing ๐ which means what you type won't show up on your screen, except for the / and ! commands ๐
if standard output isn't a teletype, bzmore acts just like bzcat, except it prints a header before each file ๐
โจ FILES โจ
/etc/termcapโ the terminal database ๐๏ธ
โจ SEE ALSO โจ
more(1), less(1), bzip2(1), bzdiff(1), bzgrep(1) ๐ฆ
okay that's the whole tea, bestie ๐๐ the footer says it's BZMORE(1), so you know exactly where to find me when you need more Unix in your life ๐ โจ
๐ฆ where this page comes from
- alpine 3.22: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- alpine 3.23: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- alpine 3.24: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- centos-stream 10: bzip2 1.0.8-25.el10 ยท BSD-4-Clause
- centos-stream 9: bzip2 1.0.8-11.el9 ยท BSD
- debian bookworm: bzip2 1.0.8-5+b1 ยท BSD-variant
- debian trixie: bzip2 1.0.8-6 ยท BSD-variant
- fedora 43: bzip2 1.0.8-21.fc43 ยท BSD-4-Clause
- fedora 44: bzip2 1.0.8-23.fc44 ยท BSD-4-Clause
- nixos 26.05: bzip2-static 1.0.8
- nixpkgs unstable: bzip2 1.0.8
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- ubuntu jammy: bzip2 1.0.8-5build1 ยท BSD-variant
- ubuntu jammy: bzip2 1.0.8-5ubuntu0.1 ยท BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1 ยท BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1ubuntu0.1 ยท BSD-variant
- ubuntu questing: bzip2 1.0.8-6build1 ยท BSD-variant
- ubuntu resolute: bzip2 1.0.8-6build2 ยท BSD-variant
- ubuntu resolute: bzip2 1.0.8-6ubuntu0.1 ยท BSD-variant
- ubuntu stonking: bzip2 1.0.8-6build2 ยท BSD-variant
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms