newfile

Description

newfile is a program for creating starter files, or trees of files, by processing templates with a C-preprocessor-like syntax. newfile generates "starting-out" files using a full featured template preprocessor. It can also generate trees of files, for example, a FreeBSD port or a project using automake and autoconf. A user can add their own template files and directories to those supplied with the package. It includes templates for making "empty" files for Ruby, make, shell, C, C++, C & C++ headers, and more. Variables Builtins Some variables are built into the system, and should always be defined. Some will get default values if not defined. TEMPLATE The name of the template used to construct the current project or file(s). NAME The name of the input file, minus any directory prefix. NAMEID An identifier based on NAME. PROJECT If a project template is being expanded, this is the name of the template. PROJECTID An identifier based on PROJ. LICENSE Defined by the command line option -l/--license. Licenses are a special case of project templates, and their files are mixed in with a project templates file. In the case of a single file, the value of LICENSE determines which directory to search for a file called ``license that is included in the generated file. AUTHOR Defined by the command line option -a/--author. The name of the author of the code or document. If not given, taken from the users full name in the /etc/passwd file. EMAIL Defined by the command line option -e/--email. If not given, constructed from the users login name and the hostname. ORGANIZATION The organization to which the author belongs, in the context of the code or document being created. If not given, defaults to the value of AUTHOR. OWNER Defined by the command line option -o/--owner. The owner of the copyright. May be an arbitrary string, or one of the special strings ``org, ``organization, or ``author. If not given, defaults to ``author. BODY If defined, indicates to many templates to include extra boilerplate text to define a skeleton body for the file. See the individual templates for details. The shell and ruby templates are especially good examples, since these are the languages Ive been using most and these templates have received the most attention to detail..

Cpp - Command Line Option - If Not - Using A - Line Option - Command Line - Newfile - File - Name - Templates - Files - Defined - Preprocessors - Programming

Published By:AlanE

License Type:Freeware

Date Added:22 October, 2010

Version:1.0.13

Price:Free

Downloads:45

Size:133.1 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

cpphs is a liberalised re-implementation of cpp, the C pre-processor, in Haskell. Why re-implement cpp? Rightly or wrongly, the C pre-processor is widely used in Haskell source code.

DateSep 29, 2010

AuthorMalcolm Wallace

Size39.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Inline::CPP is a Perl module that can write Perl subroutines and classes in C++.

DateOct 7, 2010

AuthorNeil Watkiss

Size24.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Filter::cpp is a cpp source filter. SYNOPSIS use Filter::cpp ; This source filter pipes the current source file through the C pre-processor (cpp) if it is available.

DateAug 10, 2010

AuthorPaul Marquess

Size41.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

CPP Socket library is a small Classlibrary for C++ that supports a easy usage of socket-programming for networking-software. It provides a simple object-oriented interface to the classic C library calls.

DateSep 17, 2010

AuthorRalf-Christian Juergensen

Size0

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

CdnPayroll is a collection of python functions which calculates Canadian payroll tax withholdings based on the most recent federal publication. Canadian Payroll is mostly for use by developers, but others use it with great success too.

DateOct 20, 2010

AuthorPaul Evans

Size153.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Business