Re: creating install media for Fedora server (42)

2025-06-25 Thread Tim via users
Samuel Sieb: >>> How are you trying to mount it? Tim: >> Plugging it in and trying to mount it like any other USB stick. Samuel Sieb: > How exactly and what happened? Plugging it in, and seeing if something turned up in the file browser, as usually happens when plugging in a USB stick. I've for

Re: Bash: how do I read a file into a variable and keep the line feeds?

2025-06-25 Thread ToddAndMargo via users
On 6/25/25 2:51 AM, Patrick O'Callaghan wrote: On Tue, 2025-06-24 at 23:22 -0700, ToddAndMargo via users wrote: $ rpm -qa bash bash-5.2.26-3.fc40.x86_64 I only update him every two years Really? So he is not receiving updates, including security updates, while his system is EOLed? poc Nope

Re: invalid or incomplete multibyte or wide character

2025-06-25 Thread Bob Marčan via users
On Tue, 24 Jun 2025 16:39:24 +0100 "Patrick O'Callaghan" wrote: > Is this in reply to something? I don't see the original post. > > poc > -- Reply to Same environment, upgrade from 41 to 42. [~]$ fr Error in startup script: couldn't read file "/bin/fr": invalid or incomplete multibyte or w

Re: invalid or incomplete multibyte or wide character

2025-06-25 Thread Jeffrey Walton
On Tue, Jun 24, 2025 at 5:41 PM Bob Marčan wrote: > > On Tue, 24 Jun 2025 17:07:16 -0400 > "Jeffrey Walton" wrote: > > > LC_ALL=C fr > > [~]$ LC_ALL=C fr > Error in startup script: couldn't read file "/bin/fr": invalid or incomplete > multibyte or wide character > [~]$ > > [~]$ export LC_ALL=C >

Re: F42: instructions on setting up hibernate

2025-06-25 Thread Patrick O'Callaghan
On Tue, 2025-06-24 at 09:35 -0500, Ranjan Maitra via users wrote: > On Thu Jun12'25 04:05:09PM, Patrick O'Callaghan wrote: > > From: Patrick O'Callaghan > > Date: Thu, 12 Jun 2025 16:05:09 +0100 > > To: users@lists.fedoraproject.org > > Reply-To: Community support for Fedora users > > Subject: Re

Re: invalid or incomplete multibyte or wide character

2025-06-25 Thread Patrick O'Callaghan
On Tue, 2025-06-24 at 15:53 +, Bob Marčan via users wrote: > > Is this in reply to something? I don't see the original post. > > > > poc > > -- > > Reply to > > Same environment, upgrade from 41 to 42. No idea what that means or what the original post says. I don't see it in the list archi

Re: Bash: how do I read a file into a variable and keep the line feeds?

2025-06-25 Thread Patrick O'Callaghan
On Tue, 2025-06-24 at 23:22 -0700, ToddAndMargo via users wrote: > $ rpm -qa bash > bash-5.2.26-3.fc40.x86_64 > > I only update him every two years Really? So he is not receiving updates, including security updates, while his system is EOLed? poc -- _

Re: Bash: how do I read a file into a variable and keep the line feeds?

2025-06-25 Thread Francis Montagnac via users
Hi. On Tue, 24 Jun 2025 23:10:13 -0700 ToddAndMargo via users wrote: > Mail () { > local Subject=$1 > local Body=$2 # note: if $2 starts with "file:" the file will > be use instead > local Cmd="" > local Cmd2="" > > ... > > if [[ "$Body" =~ ^file:.* ]]; the

Re: invalid or incomplete multibyte or wide character -- SOLVED

2025-06-25 Thread Bob Marčan via users
On Wed, 25 Jun 2025 18:22:56 +0900 "Mamoru TASAKA" wrote: > > Fedora 4l TCL version is 8, on the other hand Fedora 42 TCL version is 9. > Looks like filerunner does not support TCL version 9. > > Try installing TCL version 8 by > > $ sudo dnf install tcl8 tk8 > > and execute "fr" script by wi

Re: invalid or incomplete multibyte or wide character

2025-06-25 Thread Mamoru TASAKA
Jeffrey Walton wrote on 2025/06/25 7:56: On Tue, Jun 24, 2025 at 5:41 PM Bob Marčan wrote: On Tue, 24 Jun 2025 17:07:16 -0400 "Jeffrey Walton" wrote: LC_ALL=C fr [~]$ LC_ALL=C fr Error in startup script: couldn't read file "/bin/fr": invalid or incomplete multibyte or wide character [~]$

Re: Bash: how do I read a file into a variable and keep the line feeds?

2025-06-25 Thread ToddAndMargo via users
On 6/24/25 11:41 PM, Samuel Sieb wrote: On 6/24/25 11:35 PM, ToddAndMargo via users wrote: Bingo!  Thank you! $ x=$(cat abc.txt); echo $x a b c d $ x=$(cat abc.txt); echo "$x" a b c d But your original post had the quotes in the command, so it's a different issue there. The sub declara

Re: Bash: how do I read a file into a variable and keep the line feeds? -- SOLVED

2025-06-25 Thread ToddAndMargo via users
On 6/24/25 11:25 PM, Samuel Sieb wrote: On 6/24/25 11:22 PM, ToddAndMargo via users wrote: On 6/24/25 11:12 PM, Samuel Sieb wrote: When I tested it, echo wrote out the text exactly as it was in the original file, so I don't know what's going on with yours.  Are you using bash? On this custo