OnWorks favicon

deweb - Online in the Cloud

Run deweb in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command deweb that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



deweb - strips away C & CWEB commands from CWEB sources


deweb [ file1 file2 ... ]


deweb filters away all C & CWEB commands from a CWEB source code. This leaves only the
LaTeX code. This stripped code, in turn, may then be passed to a suitable syntax checker
for LaTeX, like ChkTeX and lacheck, or spell-checkers like ispell.

The chkweb tool, included in the ChkTeX distribution will do just this; writing similar
scripts should be trivial.

When deweb strips away the C code from your CWEB source, it tries to preserve line breaks.
This means that the error reports from <your favorite tool> will be correct regarding to
line numbers. In most cases, the column position will also be correct. This significantly
simplifies finding the errors in the LaTeX source (in contrast to the output from cweave,
which output is truly difficult to figure anything out from).

deweb accepts a list of filenames on the argument line, and will send its output to
stdout. If no filenames are given, it will read from stdin, acting as a filter. No
options are currently accepted.

Macho users may try to pipe the output from deweb directly into LaTeX, theoretically, this
should work. This would ease the debugging of the LaTeX code significantly, as when LaTeX
complains about wrong syntax, you'll be able to find the erroneous line much more easily.
Don't expect that the output looks very much like the final one, though.

deweb should now understand all correct CWEB opcodes. If it complains about not
understanding a correct opcode, please inform the author.


Copyright (C) 1996 Jens T. Berger Thielemann

This program is free software; you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.


No environment variables are used.

Use deweb online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • More »

Linux commands