On 11/23/23 8:20 PM, Tim via users wrote:
On Thu, 2023-11-23 at 15:44 -0700, home user wrote:
I have no idea how to remove the strange character sequences from the output, so here it is raw:
------
352:[^[[0;32m OK ^[[0m] Stopped ^[[0;1;39mkmod-static-nodes.…reate List of Static Device Nodes.
364:[^[[0;32m OK ^[[0m] Created slice ^[[0;1;39msystem-akmod…[0m - Slice /system/akmods-keygen.
Just for information, those are ANSI escape code sequences. ANSI
is used for things like colouring text, making things bold, cursor
movement, etc.
0 reset to normal
1 bold
32 green
etc
If you used "less -r /var/log/boot.log" you'd see them displayed using
the colour codes to colour the display. And if you really wanted to,
you could pipe them through something to strip them out, or use them
without showing them, then copy and paste.
less -r /var/log/boot.log|grep ounted
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted NFSD configuration filesystem.
[ OK ] Mounted /boot.
That showed up coloured on my terminal, but copy and pasting them into
here just gave me the plain text view of them. And, for what it's
worth, "grep ounted /var/log/boot.log" did exactly the same thing.
However, you can ignore them as not being important to what you're
trying to work out at the moment.
ok. Thank-you.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue