Francis Montagnac via users wrote: > On Tue, 1 Jul 2025 21:42:20 -0600 > >> me@road-runner:~$ cat spaces1.bash >> #!/bin/bash > <snip> >> $longstring="${startstring} ${longstring}" > > The error is here:
Well, `s/The/An/` there. ;) The OP had multiple attempts to work out the issue, but the primary problem is due to lack of quoting when calling echo on the variable. Subsequent versions of the code added different errors (like this one) but did not address the root issue. -- Todd
signature.asc
Description: PGP signature
-- _______________________________________________ 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