Jump to letter: [
8ABCDEFGHIJKLMNOPQRSTUVWXYZ
]
fmt-ptrn - A simple template system
- Description:
New is a template system, especially useful in conjunction with a
simple text editor such as vi. The user maintains templates which
may contain format strings. At run time, nf replaces the format
strings in a template with appropriate values to create a new file.
For example, given the following template:
// FILE: %(FILE)
// AUTHOR: %(FULLNAME)
// DATE: %(DATE)
// Copyright (C) 1999 %(FULLNAME) %(EMAIL)
// All rights reserved.
nf will create:
// FILE: foo.cpp
// AUTHOR: W. Michael Petullo
// DATE: 11 September 1999
// Copyright (C) 1999 W. Michael Petullo new@flyn.org
// All rights reserved.
on my computer.
The program understands plaintext or gziped template files.
Building fmt-ptrn also creates a shared library, libnewtemplate, which
allows the programmer access to nf's functionality.
Packages