Skip to content
/ incl Public

Preprocessor to include files into output stream

Notifications You must be signed in to change notification settings

begriffs/incl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Include/expand files

A simple preprocessor that can recursively include the contents of multiple files into an output stream. (Think of it like "m4 lite.")

Usage

echo -n "foo" > name.txt

cat << EOF | ./incl
Hello #incl(name.txt), how are you?

This is a template, #incl(name.txt).
EOF

Installation

Because of make's default suffix rules, build simply with:

make incl

Optionally copy the binary to your path.

About

Preprocessor to include files into output stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages