Page MenuHomeFreeBSD

Makefile.inc1: use make builtin :ts instead of sed
ClosedPublic

Authored by emaste on May 5 2023, 12:55 AM.
Tags
None
Referenced Files
F132264926: D39972.diff
Wed, Oct 15, 7:54 AM
Unknown Object (File)
Mon, Oct 13, 12:53 AM
Unknown Object (File)
Mon, Oct 13, 12:53 AM
Unknown Object (File)
Mon, Oct 13, 12:53 AM
Unknown Object (File)
Sun, Oct 12, 1:18 PM
Unknown Object (File)
Wed, Sep 24, 6:44 AM
Unknown Object (File)
Fri, Sep 19, 2:32 AM
Unknown Object (File)
Sep 3 2025, 1:16 PM
Subscribers

Details

Summary
Commit 3eb1b4da3cf7 replaced "xargs -n1" with a sed expression to
convert from space to newline as a list separator for *-old-* targets.
Dan Nelson followed up with a suggestion to use make's built-in :ts
instead, which should be slightly more efficient.

Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable