* Daniel Burrows <[EMAIL PROTECTED]> [010726 19:48]: > On Thu, Jul 26, 2001 at 05:20:51PM +0300, Baruch Even <[EMAIL PROTECTED]> was > heard to say: > > 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, new replaces the format strings in a template with > > appropriate values to create a new file. > > Dumb question: > How does this differ from a cut-down version of sed?
I don't really know since I don't know fully how to use sed (I know how to read the manpage though if it's a must), however the advantage of new over sed is simplicity, all I need is to setup a template on my home dir (or system) and forget about it, all I need now is to remember to do: new file I can probably do something like that with sed too, but it's a longer setup. Additional benefit of new is that is has various small transforms over the parameters like lowercasing and such, it has a bit more but nothing spectacular. -- Baruch Even http://baruch.ev-en.org/