Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.shell > #26907

Re: Variable var names

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Frank Winkler <usenet@f.winkler-ka.de>
Newsgroups comp.unix.shell
Subject Re: Variable var names
Date Fri, 12 Jun 2026 14:07:41 +0200
Lines 10
Message-ID <n92b4dFmk8aU1@mid.individual.net> (permalink)
References <n91qs8Fk65fU1@mid.individual.net> <spaces-20260612122522@ram.dialup.fu-berlin.de> <dots-20260612123818@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net VA22njFnhVnbwa847Yr2Ggl5UNoC2fKnhW/hKysB0uPjILGlO9
Cancel-Lock sha1:LsdwymzLwnTpWLrX/G1E2Bnbn80= sha256:/u4r3NMnbfD4KP+y7WvCfU1op4tbx/uvZyci2WZOwqM=
User-Agent Mozilla Thunderbird Beta
Content-Language en-US
In-Reply-To <dots-20260612123818@ram.dialup.fu-berlin.de>
Xref csiph.com comp.unix.shell:26907

Show key headers only | View raw


On 12.06.2026 13:38, Stefan Ram wrote:

  >> |x with leading and trailing spaces stripped. The shell, not echo!

Sure - and that's why I also quoted the variable, which should keep the 
blanks - shouldn't it?

  >   . So, the behavior of IFS probably is due to the dots "." used.
No, it's not. I just added the dots here to clarify that the blanks get 
lost.

Back to comp.unix.shell | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Variable var names Frank Winkler <usenet@f.winkler-ka.de> - 2026-06-12 09:30 +0200
  Re: Variable var names gazelle@shell.xmission.com (Kenny McCormack) - 2026-06-12 09:02 +0000
    Re: Variable var names Frank Winkler <usenet@f.winkler-ka.de> - 2026-06-13 12:29 +0200
      Re: Variable var names gazelle@shell.xmission.com (Kenny McCormack) - 2026-06-13 11:14 +0000
      Re: Variable var names Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-06-13 13:15 +0200
  Re: Variable var names ram@zedat.fu-berlin.de (Stefan Ram) - 2026-06-12 11:26 +0000
    Re: Variable var names ram@zedat.fu-berlin.de (Stefan Ram) - 2026-06-12 11:38 +0000
      Re: Variable var names Frank Winkler <usenet@f.winkler-ka.de> - 2026-06-12 14:07 +0200
        Re: Variable var names ram@zedat.fu-berlin.de (Stefan Ram) - 2026-06-12 12:31 +0000
          Re: Variable var names Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-13 02:48 +0000
  Re: Variable var names Christian Weisgerber <naddy@mips.inka.de> - 2026-06-12 12:12 +0000
    Re: Variable var names Frank Winkler <usenet@f.winkler-ka.de> - 2026-06-12 15:19 +0200
    Re: Variable var names Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-13 02:51 +0000
  Re: Variable var names Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2026-06-12 13:42 +0100
  Re: Variable var names Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-06-12 17:41 +0200
    Re: Variable var names Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-06-12 17:54 +0200
    Re: Variable var names Frank Winkler <usenet@f.winkler-ka.de> - 2026-06-13 12:32 +0200
      Re: Variable var names Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-14 01:12 +0000
  Re: Variable var names Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-13 00:20 +0000
  Re: Variable var names Kaz Kylheku <046-301-5902@kylheku.com> - 2026-06-23 21:25 +0000
    Re: Variable var names Helmut Waitzmann <nn.throttle@erine.email> - 2026-06-24 10:45 +0200
    Re: Variable var names Christian Weisgerber <naddy@mips.inka.de> - 2026-06-24 11:41 +0000

csiph-web