TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2020-07-20 11:52:00
subject: Re: Strange construct in

Ahem,

> I posted a solution - the correct one viz:

It was not about you or Andy.   All three of us wrote the similar thing:
Check the variables, as one being empty is the likely cause of the problem.

The thing is that Dumas there singled me out.  For what reason ?  He still
has to tell us..

> OK I didn't explicitly write out the corrected version. Like
> Andy I prefer to help people think and understand.

The same here.  Why did you think I suggested to print out the GOV and FORCE
variables ?

>> As for the solution ?   I overthought it.    The problem is that the
>
> Twice and still got it wrong!
...
> It might also contain spaces, tabs, newlines etc.

Yeah, that was something I didn't think about ...

And yes, wrapping the environment variable into double quotes does seem to
do the trick.   Even though my tests in that direction initially failed -
because I removed the spaces at both sides of the "=".   Didn't realise BASH
needs them.  Yeah, I'm a rather newbie in regard to Linux  and BASH.  So sue
me. :-)

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.