bcat.pl - cat HTML to browser
bcat.pl <index.html
Options: --tab title of tab to reuse (regex) --current reuse current tab --title title of the page --mozrepl connection string to Firefox --close automatically close the tab at the end of input --type TYPE Fix the type to 'html' or 'text'
Name of the tab to (re)use. A substring is enough.
Use the currently focused tab.
Give the title of the page that is shown.
Automatically close the tab when the input closes. This is good for displaying intermediate information.
Force the type to be either html or text. If the type is text, line wrapping will be added.
html
text
Connection information for the mozrepl instance to use.
This program will display HTML read from STDIN in a browser tab.
The original bcat utility which inspired this program at http://rtomayko.github.com/bcat/.
bcat
To install WWW::Mechanize::Firefox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Firefox
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Firefox
For more information on module installation, please visit the detailed CPAN module installation guide.