htmlcat icon

htmlcat For Linux

  n/a
GPL    

htmlcat is a script that combines a number of HTML files into one.. #Perl script  #Concatenate HTML Files  #Combines HTML files  #Htmlcat  #Perl  #Script  

Description

Free Download

htmlcat is a script that combines a number of HTML files into one.

The beginning of the first file (up to and including < body ... >) is used for all the files since only their bodies are concatenated. An optional divider followed by the label of a file is used between files.

* the code relies on the calling shell to expand wildcard filenames like '*.html'; this is automatic in a Unix shell, but does not happen at a DOS prompt * the original files must conform to HTML conventions; if necessary use htmlfix first to correct major problems * < body ... > and < /body > must be on a line of their own; any other information on these lines will be lost * in anchors, href="..." and name="..." must be not be split across a line * any material after "< /body >" (such as HTML comments) will be lost * the script might get confused by a symbolic directory index link or references to files in remote directories (though it does its best) * if you move the concatenated HTML file, remember to move any other local files (e.g. images) to the same relative location (e.g. the same directory) * for use with a frame-based collection of files, exclude the frameset definition file from the list of inputs and probably start with a contents file

The command line options are:

-d print divider between concatenated files -h print usage as help -o file name output file (this will be ignored if present in the input list, e.g. due to giving *.html) -s sort input files into case-insensitive alphabetical order (putting the index file first if necessary, and removing the file it points to from the inputs if it is a symbolic link)

Run on one or more HTML files. Warning messages are sent to standard error. Examples of usage are:

htmlcat -o some.html def.html res.html concatenate def.html and res.html to some.html htmlcat -d -o all.html *.html concatenate all HTML files to all.html with dividers between them htmlcat -o -s out.html *.html sort then concatenate all HTML files to out.html htmlcat *.html > /tmp/all.html concatenate all HTML files to standard output (here /tmp/all.html); for this method, do not create a concatenated file in the same directory or the script will run indefinitely on its own output!

The only things likely to need changed for installation are the directory index filename and the nature of a file divider (see customise subroutine in the code).

Change the first line of the script according to where Perl is located. Although tested with Perl5, the script may work with only minor changes for Perl4.

htmlcat 1.0

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
htmlcat-1.0.tar.gz
  main category:
Internet
  developer:
  visit homepage

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

% discount
Context Menu Manager
  • Context Menu Manager
  • Microsoft Teams
  • calibre
  • 4k Video Downloader
  • IrfanView
  • 7-Zip
  • Zoom Client
  • Bitdefender Antivirus Free
  • Windows Sandbox Launcher
  • ShareX
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy