[csw-maintainers] [csw-devel] dynamically generated adm scripts
Philip Brown
phil at bolthole.com
Tue Feb 10 22:11:26 CET 2009
On Mon, Feb 09, 2009 at 07:06:37PM -0500, Ben Walton wrote:
> Excerpts from Philip Brown's message of Mon Feb 09 17:31:42 -0500 2009:
> > > > for i in /tmp/*; do
> > > > echo Found $$i in /tmp;
> > > > done
> > > > endef
> >
> > Errr... this sort of usage disturbs me.
>
> [Assumes you're not commenting specifically on the dumb example used to
> show variable escaping and a general overview...]
i was commenting specifically, on going through /tmp/, yes.
> If you want to say that version numbers shouldn't be in path names and
> make that a CSW convention (maybe it already is?) that's fine.
its a semi-convention. people are encouraged to remove numbers from
documentation subdirs, for example.
(/opt/csw/share/doc/progname, not progname-1.2.3)
> . You'll note that rpm provides a built-in macro language that
> is used for this type of task quite regularly.
that's.... evil.
More information about the maintainers
mailing list