File mapStrings.icn

Summary

Copy a file, replacing strings.

Author: Steve Wampler (sbw@tapestry.tucson.az.us)

This file is in the public domain.

Procedures:
buildMap, main

Imports:
util

This file is part of the (main) package.

Source code.

Details
Procedures:

buildMap(args)

Construct the replacement map. Used internally.


main(args)

Copy standard input to standard output, replacing substrings with matching replacement.

Arguments are of the form oldString=newString, where oldString will be replaced by newString.

Note that oldString cannot include "=", but that newString can.



This page produced by UniDoc on 2021/04/15 @ 23:59:54.