Tom Horsley wrote: > On Tue, 25 Apr 2023 17:49:08 -0400 > Todd Zullinger wrote: > >> s/uname -p/uname -m/ >> >> shouldn't be too much of an issue. > > Right, just have to locate the 47,321 scripts which have some variation > of that command in them. No problem at all :-).
I have good news and bad news... This may be an opportunity to notice that the decade's long deprecation of egrep now causes a warning to stderr too. $ egrep . /etc/os-release >/dev/null egrep: warning: egrep is obsolescent; using grep -E I wasn't sure I'd live to see the day that deprecation moved forward, but here it is. ;-) One idea for tracking things down which aren't stored in a place which is reasonable to grep, is a uname script which overrides the default uname command, logs the usage of -i/-p and the calling script, then replaces it with -m and exec's the real uname. (Which may be just what you were already planning.) -- Todd
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue