On Mon, 23 Mar 2009 09:22:06 +0100
Ulrich Mueller <u...@gentoo.org> wrote:
> Now that "dosed" is going to be banned, what would people think of
> "newins" (and the other "new*" commands) accepting "-" as the first
> argument?

There's a slightly different variation in exheres-0: as well as do* and
new*, there's also here*, which you use like this:

    hereins foo <<'END'
stuff
END

It magically barfs, rather than hanging indefinitely, if you forget to
give it some input.

The rationale for giving it a new name rather than overloading an
existing one is that some of the existing do* utilities don't take just
a single simple filename, so overloading would make the command line
somewhat convoluted.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to