Giter Site home page Giter Site logo

checknr's Introduction

checknr — check nroff/troff files

The checknr utility checks a list of nroff(1) or troff(1) input files for certain kinds of errors involving mismatched opening and closing delimiters and unknown commands.

To install

  1. make clobber all

If checknr compiles successfully, then:

  1. make test

If the all is well with the test:

  1. sudo make install

To use

See the checknr.1 man page for details.

To read the checknr.1 man page before installing:

man ./checknr.1

For example, to check the checknr.1 man page within the source directory:

./checknr -c.Ar.Bd.Bl.Bx.Dd.Dt.Ed.El.Fl.It.Nd.Nm.Op.Os.Pp.Ql.Sh.Sq.Xr checknr.1

From the dbg repo man page dbg.3 try:

checknr -c.BR.SS.BI /path/to/dbg/dbg.3

The above command assumes you have installed checknr and that the executable is in the path.

To test from this directory:

./checknr -c.BR.SS.BI /path/to/dbg/dbg.3

History

Landon Noll did NOT write checknr. This repo is provided by Landon Noll so that others may use this old command.

The checknr command first appeared in 4.0BSD. The original 4.0BSD source code contains these strings:

@(#) Copyright (c) 1980, 1993
	The Regents of the University of California.  All rights reserved.
@(#)checknr.c   8.1 (Berkeley) 6/6/93

Later on, this line was added by the folks from FreeBSD:

$FreeBSD: src/usr.bin/checknr/checknr.c,v 1.9 2004/07/15 04:42:47 tjr Exp

The program had to be modified slightly from the FreeBSD version, to make it easier for other systems to compile. See the file checknr.orig.c for the original source code.

checknr's People

Contributors

lcn2 avatar xexyl avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xexyl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.