[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cope with spaces in an environment variable
From: |
Kerin Millar |
Subject: |
Re: cope with spaces in an environment variable |
Date: |
Sun, 18 Jun 2023 20:22:35 +0100 |
On Mon, 19 Jun 2023 03:37:24 +0900
Masahiro Yamada <masahiroy@kernel.org> wrote:
> Hi.
>
> I'd like to know the proper handling of an environment variable
> when the value may contain spaces (with quoting).
>
> Here is my question.
>
> You have the environment variable 'CC', which contains a compiler path.
>
> For example, how to write a shell script to
> compile a C file with ${CC}?
By shell script, do you mean that POSX sh is the intended target?
--
Kerin Millar
- cope with spaces in an environment variable, Masahiro Yamada, 2023/06/18
- Re: cope with spaces in an environment variable, Davide Brini, 2023/06/18
- Re: cope with spaces in an environment variable, alex xmb ratchev, 2023/06/18
- Re: cope with spaces in an environment variable, Lawrence Velázquez, 2023/06/18
- Re: cope with spaces in an environment variable,
Kerin Millar <=
- Re: cope with spaces in an environment variable, Kerin Millar, 2023/06/19
- Re: cope with spaces in an environment variable, Kerin Millar, 2023/06/19