Dec 312017
 
UNIX text and program file formatter.
File WP.ZIP from The Programmer’s Corner in
Category UNIX Files
UNIX text and program file formatter.
File Name File Size Zip Size Zip Type
DOS2UNIX 40 35 deflated
GETOPT.C 1227 527 deflated
MAKEFILE 940 545 deflated
README 1310 673 deflated
README.1ST 455 275 deflated
STRING.H 1468 368 deflated
STRSPN.C 485 246 deflated
STRTOK.C 1165 483 deflated
UNIX2DOS 40 35 deflated
WP.1 4839 2016 deflated
WP.C 11941 3600 deflated
WP.MAN 5019 2017 deflated

Download File WP.ZIP Here

Contents of the README file


Tue Sep 30 15:48:26 EET 1986
============================

wp(1) - the programmer's text formatter. Not another one? Well, this one
is really for programmers. As well as handling normal text it also knows
about comments in programs. For the first time you can edit your comments,
and get them reformatted easily and neatly afterwards. How about changing

/* this is a lump of comment */
/* text that has been horribly hacked about and
/* changed */

into this:

/* this is a lump of comment text that has been horribly */
/* hacked about and changed */

easily? Like it? Then read on. You can handle almost any comment
convention. Of course wp handles normal text as well. It understands
nroff commands (like Berkeleys fmt command), so you can use it on document
input as well. It knows about first and subsequent line indents in
paragraphs (like INed's ffill command) so you won't miss that feature. It
even handles them inside comments.

This program is available for distribution to anyone for any purpose. But
please do me the courtesy of retaining my credit line!

---
Pete Story, Avd FF441, A/S Kongsberg Vaapenfabrikk
PO Box 25, N3601 Kongsberg, Norway.
Tel: (+47 3) 739480 Uucp: mcvax!kvvax4!pete


Contents of the README.1ST file


Tue Sep 30 15:48:26 EET 1986
============================

wp(1) - the programmer's text formatter. Not another one? Well, this one
is really for programmers. As well as handling normal text it also knows
about comments in programs. For the first time you can edit your comments,
and get them reformatted easily and neatly afterwards. How about changing

/* this is a lump of comment */
/* text that has been horribly hacked about and
/* changed */

into this:

/* this is a lump of comment text that has been horribly */
/* hacked about and changed */

easily? Like it? Then read on. You can handle almost any comment
convention. Of course wp handles normal text as well. It understands
nroff commands (like Berkeleys fmt command), so you can use it on document
input as well. It knows about first and subsequent line indents in
paragraphs (like INed's ffill command) so you won't miss that feature. It
even handles them inside comments.

This program is available for distribution to anyone for any purpose. But
please do me the courtesy of retaining my credit line!

---
Pete Story, Avd FF441, A/S Kongsberg Vaapenfabrikk
PO Box 25, N3601 Kongsberg, Norway.
Tel: (+47 3) 739480 Uucp: mcvax!kvvax4!pete
The files here are archived with ARC5.12. The text files are in DOS
format: i.e., each line is terminated with a CR/LF pair. Remove the
CR's on UNIX with sed. The files DOS2UNIX and UNIX2DOS are shell
scripts that convert the DOS file names to the original UNIX ones and
vice versa. Caution: Remove the trailing CR's in UNIX2DOS and DOS2UNIX
*before* running them; otherwise the trailing CR will become part of
the destination file's name.




 December 31, 2017  Add comments

Leave a Reply