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 declaration did not

Mail () {
     local Subject=$1
     local Body=$2

should have been
     local Body="$2"

--
_______________________________________________
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

Reply via email to