bcat.pl - cat HTML to browser
bcat.pl <index.html
Options: --tabname title of tab to reuse --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.
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.