Subject: make: suppressing inter-word space in variable expansions
To: None <tech-toolchain@netbsd.org>
From: Simon Gerraty <sjg@juniper.net>
List: tech-toolchain
Date: 07/10/2003 23:55:21
It regularly irks me needing to do things like:
FOO!= echo ${VAR} | tr ' ' :
to get rid of the spaces between words in ${VAR} (eg for something
that can be passed as say $PATH to a command.)
I'd like to add a modifier that allows one to set or even supress
the character used to separate words in a variable expansion.
Even if this only worked in conjunction with the :@ modifier it would
be handy.
Before I burn precious cycles trying to come up with a name for this
modifier does anyone have suggestions or violent objections?
Thanks
--sjg