NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41700 (:tr modifier for NetBSD make [patch])
Synopsis: :tr modifier for NetBSD make [patch]
Responsible-Changed-From-To: cheusov->rillig
Responsible-Changed-By: rillig%NetBSD.org@localhost
Responsible-Changed-When: Sat, 28 Jun 2025 20:47:38 +0000
Responsible-Changed-Why:
Over to me.
State-Changed-From-To: open->dead
State-Changed-By: rillig%NetBSD.org@localhost
State-Changed-When: Sat, 28 Jun 2025 20:47:38 +0000
State-Changed-Why:
Implementing the ":tr" modifier to be as close as possible to the
tr(1) utility is a lot of work, as usr.bin/tr/tr.c and usr.bin/tr/str.c
amount to about 500 lines of code that would have to be re-implemented
in usr.bin/make.
As a workaround for repeating the same modifier in the source code,
the modifier can be defined once as an indirect modifier in a variable
and then be applied as in ${VAR:${M_tr_upper_lower}}.
Home |
Main Index |
Thread Index |
Old Index