tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make :ts documentation



On Fri, Feb 26, 2016 at 06:06:56PM -0800, Simon J Gerraty wrote:
 > Someone complained to me recently, that make(1) says:
 > 
 >      :tsc
 >           Words in the variable are normally separated by a space on expan-
 >           sion.  This modifier sets the separator to the character c.  If c is
 >           omitted, then no separator is used.  The common escapes (including
 >           octal numeric codes), work as expected.
 > 
 > which implied to him that :ts\124 should treated as octal
 > ie 'T' rather than decimal '|'.
 > 
 > Tweak the man page to indicate a leading 0 is needed
 > for octal, or enforce 3 octal chars as octal even without
 > leading 0?

It should be the same as C escapes unless there's a compelling reason
to the contrary, which there isn't.

(and no, I don't know of a standard function for it)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index