On Tue, 2023-04-25 at 17:18 -0400, Todd Zullinger wrote: > Tom Horsley wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=2189656 > > > > God knows how many scripts I have that use "uname -p" to get > > the architecture name, but it now returns "unknown" instead of > > "x86_64". > > > > I guess I'll replace uname with a script that invokes the real > > uname unless it is called with the -p option, then echoes x86_64 :- > > ). > > It's not a bug. :) > > A non-upstream patch was removed¹, which had kept the > long-deprecated uname -i and -p options. > > ¹ https://src.fedoraproject.org/rpms/coreutils/c/cd953e1 > > `uname -m` is probably what you want to use in those > scripts, if you were looking for x86_64 as the output.
The man page still has '-p' and '-i', so that's at least a documentation bug. poc _______________________________________________ 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