HomeFreeBSD

man: avoid unportable use of utilities

Description

man: avoid unportable use of utilities

echo -e is not portable. It can be replaced by printf %b (it works
only with the /bin/sh built-in echo, not /bin/echo anyway).
head -# is not portable, but head -n # is.

Replace these two things in three places total.

Signed-off-by: Mohamed Akram <mohd.akram@outlook.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1062

Details

Provenance
mohd.akram_outlook.comAuthored on Jan 15 2024, 6:27 PM
impCommitted on Jan 15 2024, 6:30 PM
Parents
rGa5ef95cd228e: condvar: Fix a user-after-free in _cv_wait() when ktrace is enabled
Branches
Unknown
Tags
Unknown