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
Unknown Object (File)
Tue, Mar 31, 3:01 PM
Unknown Object (File)
Mon, Mar 30, 10:50 PM
Unknown Object (File)
Mon, Mar 30, 2:01 PM
Unknown Object (File)
Sun, Mar 15, 10:49 AM
Unknown Object (File)
Wed, Mar 11, 9:28 AM
Unknown Object (File)
Feb 20 2026, 9:10 PM
Unknown Object (File)
Feb 8 2026, 12:07 PM
Unknown Object (File)
Feb 8 2026, 12:45 AM
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