[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [EXT]Re: Suddenly, periods / dots in variable values are converted t
From: |
Kerin Millar |
Subject: |
Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space |
Date: |
Tue, 24 Jan 2023 08:09:10 +0000 |
On Mon, 23 Jan 2023 21:36:05 -0700
Chandler <admin@genome.arizona.edu> wrote:
> Greg Wooledge wrote on 1/23/23 5:44 PM:
> > localized to a single command, as in:
> > IFS=. read -ra myarray ...
> > or in a function:
> > join() { local IFS="$1"; shift; printf '%s\n' "$*"; }
> Yes that's what I figured, but, can it be both, without local? It was
> something like this:
> 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.
--
Kerin Millar
- Suddenly, periods / dots in variable values are converted to space, Chandler, 2023/01/23
- Re: Suddenly, periods / dots in variable values are converted to space, Greg Wooledge, 2023/01/23
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Chandler, 2023/01/23
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Greg Wooledge, 2023/01/23
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Chandler, 2023/01/23
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space,
Kerin Millar <=
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Chandler, 2023/01/24
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Kerin Millar, 2023/01/25
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, David, 2023/01/25
- Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Chandler, 2023/01/25
Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space, Chandler Sobel-Sorenson, 2023/01/23
Re: Suddenly, periods / dots in variable values are converted to space, Lawrence Velázquez, 2023/01/24