|
From: | Chandler |
Subject: | Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space |
Date: | Tue, 24 Jan 2023 21:50:59 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.0 |
Kerin Millar wrote on 1/24/23 1:09 AM:
Chandler <admin@genome.arizona.edu> wrote:join() { IFS=. read -ra myarray ... ... }It can't possibly have been on account of that particular example. The assignment to IFS had to have been performed independently, be it within that function or elsewhere.
I'm certain it was not independent, but it was doing something to remove the dots from ${HOSTNAME} variable I think, like: IFS=. ${HOSTNAME##...} if that makes any difference? (can't remember what was in the ...)
[Prev in Thread] | Current Thread | [Next in Thread] |