Skip to content

/etc/profile: printf: missing unicode digit for \u #347

@lazypingu

Description

@lazypingu

More an observation than an issue:

I've noticed the following lines on startup:

/etc/profile: line 112: printf: missing unicode digit for \u
/etc/profile: line 116: printf: missing unicode digit for \u

Both printfs are located in the einfo function:

einfo() {
  output="$(printf "%b" "${*}")"
  ...
  printf "\033[1;34m *\033[0m %b\n" "${output}"
}

The print of "initrd=\EFI\Gentoo\ugrd-6.16.4-gentoo.cpio.xz", which I specified via efibootmgr turned out to be the root cause,
since it contains the \u.
If I prefix the file with something else or place it on the top of the efi directory the issue is gone.

So no big deal, just wanted to mention. Not sure if this could be solved easily. Might not be important anyways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions