Wed, 18 Nov 2026 22:10:49 UTC Log in
A simple template system 483.45 KB built 2026-10-13 19:40:21 GMT

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. The fmt-ptrn system also provides a shared library which allows a programmer access to nf's functionality. The system was developed to be light and fast. Its only external dependencies are the C library, glib2 and zlib.

Dependencies

8 total
Requires6
  • gcc
  • glib2-devel
  • make
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • zlib-devel
Provides2
  • fmt-ptrn = 1.3.24-7.fc45
  • fmt-ptrn-devel = 1.3.24-7.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots