Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I am not now, nor have I ever been, a member of the demigodic party. -- Dennis Ritchie


computers / comp.misc / Any bash shell experts

SubjectAuthor
* Any bash shell expertsSylvia Else
+* Re: Any bash shell expertsSylvia Else
|`* Re: Any bash shell expertsSylvia Else
| `* Re: Any bash shell expertsRichard Kettlewell
|  `* Re: Any bash shell expertsSylvia Else
|   `* Re: Any bash shell expertsRichard Kettlewell
|    `- Re: Any bash shell expertsSylvia Else
+- Re: Any bash shell expertsSpiros Bousbouras
`* Re: Any bash shell expertsscott
 `* Re: Any bash shell expertsBob Eager
  `- Re: Any bash shell expertsscott

1
Any bash shell experts

<jmlkv0Fn7d0U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1830&group=comp.misc#1830

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: sylvia@email.invalid (Sylvia Else)
Newsgroups: comp.misc
Subject: Any bash shell experts
Date: Wed, 24 Aug 2022 13:41:18 +1000
Lines: 28
Message-ID: <jmlkv0Fn7d0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 0W6chSHTcF40FlFur3Q+qQ4doFtT7Wm9csDCYVXB5J3uQAUXwn
Cancel-Lock: sha1:EqfXe1UCPNOeOptwaQuW6wpvPX0=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-GB
 by: Sylvia Else - Wed, 24 Aug 2022 03:41 UTC

If I do

X="my[[:space:]]spc[[:space:]]dir"
echo $X

the output is unexpectedly

my spc dir

but do

X="m[[:space:]]spc[[:space:]]dir"
echo $X

and the output is the expected

m[[:space:]]spc[[:space:]]dir

Indeed, I cannot find any change to my original assignment that leads to
the unexpected behaviour.

Is there some logic behind this, or have I stumbled, completely by
chance, onto some bizarre "easter egg", and thereby lost considerable
time, and some amount of hair?

What the hell.........?

Sylvia.

Re: Any bash shell experts

<jmlmd6Fnde0U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1831&group=comp.misc#1831

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: sylvia@email.invalid (Sylvia Else)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 14:05:56 +1000
Lines: 38
Message-ID: <jmlmd6Fnde0U1@mid.individual.net>
References: <jmlkv0Fn7d0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net dqyK6uexznAazA2FscgfTwEPqLPgriAjYjPVjcyrpeTGkswv8Z
Cancel-Lock: sha1:u80BW1iQpT5oweO0/e1Z3hxtgKc=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-GB
In-Reply-To: <jmlkv0Fn7d0U1@mid.individual.net>
 by: Sylvia Else - Wed, 24 Aug 2022 04:05 UTC

On 24-Aug-22 1:41 pm, Sylvia Else wrote:
> If I do
>
> X="my[[:space:]]spc[[:space:]]dir"
> echo $X
>
> the output is unexpectedly
>
> my spc dir
>
> but do
>
> X="m[[:space:]]spc[[:space:]]dir"
> echo $X
>
> and the output is the expected
>
> m[[:space:]]spc[[:space:]]dir
>
> Indeed, I cannot find any change to my original assignment that leads to
> the unexpected behaviour.
>
> Is there some logic behind this, or have I stumbled, completely by
> chance, onto some bizarre "easter egg", and thereby lost considerable
> time, and some amount of hair?
>
> What the hell.........?
>
> Sylvia.

OK, seem it's pattern matching against a directory of that name, with
the embedded spaces in its name, which is how this pattern matching
pattern arose in the first place.

All I need to do now is find out where it's documented that it will do
that without being expressly told to.

Sylvia.

Re: Any bash shell experts

<8lHs2M4TfOyQJ4JPj@bongo-ra.co>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1832&group=comp.misc#1832

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: spibou@gmail.com (Spiros Bousbouras)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 04:20:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <8lHs2M4TfOyQJ4JPj@bongo-ra.co>
References: <jmlkv0Fn7d0U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Aug 2022 04:20:50 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2b5bb781311b5941dfe842162adac953";
logging-data="3412204"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/87mKdz8sdFCezUEKbrRh2"
Cancel-Lock: sha1:2nhqzXhAwaU+MIjkkWzE83WX8ZE=
X-Organisation: Weyland-Yutani
X-Server-Commands: nowebcancel
In-Reply-To: <jmlkv0Fn7d0U1@mid.individual.net>
 by: Spiros Bousbouras - Wed, 24 Aug 2022 04:20 UTC

On Wed, 24 Aug 2022 13:41:18 +1000
Sylvia Else <sylvia@email.invalid> wrote:
> If I do
>
> X="my[[:space:]]spc[[:space:]]dir"
> echo $X
>
> the output is unexpectedly
>
> my spc dir
[...]

comp.unix.shell is a better place for shell questions.

Re: Any bash shell experts

<jmlndsFniu5U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1833&group=comp.misc#1833

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: sylvia@email.invalid (Sylvia Else)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 14:23:24 +1000
Lines: 41
Message-ID: <jmlndsFniu5U1@mid.individual.net>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<jmlmd6Fnde0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net GM4toCel8/NIQYJ5mqUHCwWMXxQn3fNfZ2eae7jJx5wjzLQGKf
Cancel-Lock: sha1:2hXiPm5gB89isdKoPWNzKAvdr0Q=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-GB
In-Reply-To: <jmlmd6Fnde0U1@mid.individual.net>
 by: Sylvia Else - Wed, 24 Aug 2022 04:23 UTC

On 24-Aug-22 2:05 pm, Sylvia Else wrote:
> On 24-Aug-22 1:41 pm, Sylvia Else wrote:
>> If I do
>>
>> X="my[[:space:]]spc[[:space:]]dir"
>> echo $X
>>
>> the output is unexpectedly
>>
>> my spc dir
>>
>> but do
>>
>> X="m[[:space:]]spc[[:space:]]dir"
>> echo $X
>>
>> and the output is the expected
>>
>> m[[:space:]]spc[[:space:]]dir
>>
>> Indeed, I cannot find any change to my original assignment that leads
>> to the unexpected behaviour.
>>
>> Is there some logic behind this, or have I stumbled, completely by
>> chance, onto some bizarre "easter egg", and thereby lost considerable
>> time, and some amount of hair?
>>
>> What the hell.........?
>>
>> Sylvia.
>
> OK, seem it's pattern matching against a directory of that name, with
> the embedded spaces in its name, which is how this pattern matching
> pattern arose in the first place.
>
> All I need to do now is find out where it's documented that it will do
> that without being expressly told to.
>
> Sylvia.

Pathname expansion. Disable by set -f, enable again by set +f

Re: Any bash shell experts

<87lere9k5l.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1834&group=comp.misc#1834

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 08:26:46 +0100
Organization: terraraq NNTP server
Message-ID: <87lere9k5l.fsf@LkoBDZeT.terraraq.uk>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<jmlmd6Fnde0U1@mid.individual.net> <jmlndsFniu5U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="50262"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:78H/MWrcpB34bZ8mPUlTgxAhEg0=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Wed, 24 Aug 2022 07:26 UTC

Sylvia Else <sylvia@email.invalid> writes:
> Pathname expansion. Disable by set -f, enable again by set +f

That’s a global setting. The usual approach is to quote all string
expansions except the few where you want pathname expansion.

richard@araminta:~$ x="j*"
richard@araminta:~$ echo $x
junk
richard@araminta:~$ echo "$x"
j*

--
https://www.greenend.org.uk/rjk/

Re: Any bash shell experts

<jmmb3iFqhknU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1835&group=comp.misc#1835

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: sylvia@email.invalid (Sylvia Else)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 19:59:14 +1000
Lines: 18
Message-ID: <jmmb3iFqhknU1@mid.individual.net>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<jmlmd6Fnde0U1@mid.individual.net> <jmlndsFniu5U1@mid.individual.net>
<87lere9k5l.fsf@LkoBDZeT.terraraq.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net XvipwBH1HtgibK/Ma2hWyQ2mbcN+Ykg2TUF20fgXEgZ6cihsux
Cancel-Lock: sha1:4tQOApwR9k5PlCFrAkwwnuKArZM=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-GB
In-Reply-To: <87lere9k5l.fsf@LkoBDZeT.terraraq.uk>
 by: Sylvia Else - Wed, 24 Aug 2022 09:59 UTC

On 24-Aug-22 5:26 pm, Richard Kettlewell wrote:
> Sylvia Else <sylvia@email.invalid> writes:
>> Pathname expansion. Disable by set -f, enable again by set +f
>
> That’s a global setting. The usual approach is to quote all string
> expansions except the few where you want pathname expansion.
>
> richard@araminta:~$ x="j*"
> richard@araminta:~$ echo $x
> junk
> richard@araminta:~$ echo "$x"
> j*
>

Yes. Unfortunately, in this case I need word splitting, just not path
name expansion.

Sylvia.

Re: Any bash shell experts

<87fshlaiqk.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1836&group=comp.misc#1836

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.nntp.terraraq.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Wed, 24 Aug 2022 14:12:03 +0100
Organization: terraraq NNTP server
Message-ID: <87fshlaiqk.fsf@LkoBDZeT.terraraq.uk>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<jmlmd6Fnde0U1@mid.individual.net> <jmlndsFniu5U1@mid.individual.net>
<87lere9k5l.fsf@LkoBDZeT.terraraq.uk>
<jmmb3iFqhknU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="nntp.terraraq.uk:2a00:1098:0:86:1000:3f:0:2";
logging-data="55261"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:2TS0uqEucUuKCzqGIB1OwFmP27c=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Wed, 24 Aug 2022 13:12 UTC

Sylvia Else <sylvia@email.invalid> writes:
> Richard Kettlewell wrote:
>> Sylvia Else <sylvia@email.invalid> writes:
>>> Pathname expansion. Disable by set -f, enable again by set +f
>> That’s a global setting. The usual approach is to quote all string
>> expansions except the few where you want pathname expansion.
>> richard@araminta:~$ x="j*"
>> richard@araminta:~$ echo $x
>> junk
>> richard@araminta:~$ echo "$x"
>> j*
>>
>
> Yes. Unfortunately, in this case I need word splitting, just not path
> name expansion.

Less weird languages are available...

--
https://www.greenend.org.uk/rjk/

Re: Any bash shell experts

<jmmpmbFsprlU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1837&group=comp.misc#1837

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: sylvia@email.invalid (Sylvia Else)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: Thu, 25 Aug 2022 00:08:11 +1000
Lines: 29
Message-ID: <jmmpmbFsprlU1@mid.individual.net>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<jmlmd6Fnde0U1@mid.individual.net> <jmlndsFniu5U1@mid.individual.net>
<87lere9k5l.fsf@LkoBDZeT.terraraq.uk> <jmmb3iFqhknU1@mid.individual.net>
<87fshlaiqk.fsf@LkoBDZeT.terraraq.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 91Ix65OpCLS7uftnZlyUCA8L9ET81MpY1RNpBQkv1nr/hXOqLh
Cancel-Lock: sha1:zgq9gcpVofMZ8x8A+H4qJBbjuFQ=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-GB
In-Reply-To: <87fshlaiqk.fsf@LkoBDZeT.terraraq.uk>
 by: Sylvia Else - Wed, 24 Aug 2022 14:08 UTC

On 24-Aug-22 11:12 pm, Richard Kettlewell wrote:
> Sylvia Else <sylvia@email.invalid> writes:
>> Richard Kettlewell wrote:
>>> Sylvia Else <sylvia@email.invalid> writes:
>>>> Pathname expansion. Disable by set -f, enable again by set +f
>>> That’s a global setting. The usual approach is to quote all string
>>> expansions except the few where you want pathname expansion.
>>> richard@araminta:~$ x="j*"
>>> richard@araminta:~$ echo $x
>>> junk
>>> richard@araminta:~$ echo "$x"
>>> j*
>>>
>>
>> Yes. Unfortunately, in this case I need word splitting, just not path
>> name expansion.
>
> Less weird languages are available...
>

True.

I'm invoking a lot of standard utilities. However, I've come to think
I'd have been better off invoking them from a more conventional
programming languages.

Oh well.

Sylvia.

Re: Any bash shell experts

<MQrNK.829451$J0r9.342674@fx11.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1838&group=comp.misc#1838

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
Sender: Scott Alfter <salfter@linode.members.linode.com>
From: scott@alfter.diespammersdie.us
Subject: Re: Any bash shell experts
Newsgroups: comp.misc
References: <jmlkv0Fn7d0U1@mid.individual.net>
Organization: USS Voyager NCC-74656, Delta Quadrant
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.59-gentoo-x86_64 (x86_64))
Lines: 28
Message-ID: <MQrNK.829451$J0r9.342674@fx11.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 24 Aug 2022 15:54:20 UTC
Date: Wed, 24 Aug 2022 15:54:20 GMT
X-Received-Bytes: 1341
 by: scott@alfter.diespammersdie.us - Wed, 24 Aug 2022 15:54 UTC

Sylvia Else <sylvia@email.invalid> wrote:
> If I do
>
> X="my[[:space:]]spc[[:space:]]dir"
> echo $X
>
> the output is unexpectedly
>
> my spc dir

Not for me:

salfter@salfter ~ $ X="my[[:space:]]spc[[:space:]]dir"
salfter@salfter ~ $ echo $X
my[[:space:]]spc[[:space:]]dir

What version of bash are you using? Mine returns this for bash --version:

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

This is on Gentoo Linux running in WSL 2 on Win11. Another host running
Gentoo on the metal behaves the same way.

--
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?

Re: Any bash shell experts

<jmn0i9FcgdtU13@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1839&group=comp.misc#1839

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: comp.misc
Subject: Re: Any bash shell experts
Date: 24 Aug 2022 16:05:29 GMT
Lines: 27
Message-ID: <jmn0i9FcgdtU13@mid.individual.net>
References: <jmlkv0Fn7d0U1@mid.individual.net>
<MQrNK.829451$J0r9.342674@fx11.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ershZmIfpIaYEwJw/IzVOQE0jfzSxV8mA3hrS7AVOa4wtzVhWi
Cancel-Lock: sha1:5USsN0Sr/IKFBDtBZ1jAsUvkEbk=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Wed, 24 Aug 2022 16:05 UTC

On Wed, 24 Aug 2022 15:54:20 +0000, scott wrote:

> Sylvia Else <sylvia@email.invalid> wrote:
>> If I do
>>
>> X="my[[:space:]]spc[[:space:]]dir"
>> echo $X
>>
>> the output is unexpectedly
>>
>> my spc dir
>
> Not for me:
>
> salfter@salfter ~ $ X="my[[:space:]]spc[[:space:]]dir" salfter@salfter ~
> $ echo $X my[[:space:]]spc[[:space:]]dir

I think it's been established that the behaviour is dependent on having
files in the current directory that match the pattern.

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

Re: Any bash shell experts

<VFNNK.963372$JVi.417620@fx17.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1840&group=comp.misc#1840

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
Sender: Scott Alfter <salfter@linode.members.linode.com>
From: scott@alfter.diespammersdie.us
Subject: Re: Any bash shell experts
Newsgroups: comp.misc
References: <jmlkv0Fn7d0U1@mid.individual.net> <MQrNK.829451$J0r9.342674@fx11.iad> <jmn0i9FcgdtU13@mid.individual.net>
Organization: USS Voyager NCC-74656, Delta Quadrant
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.59-gentoo-x86_64 (x86_64))
Lines: 29
Message-ID: <VFNNK.963372$JVi.417620@fx17.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Thu, 25 Aug 2022 16:44:37 UTC
Date: Thu, 25 Aug 2022 16:44:37 GMT
X-Received-Bytes: 1534
 by: scott@alfter.diespammersdie.us - Thu, 25 Aug 2022 16:44 UTC

Bob Eager <news0009@eager.cx> wrote:
> On Wed, 24 Aug 2022 15:54:20 +0000, scott wrote:
>
>> Sylvia Else <sylvia@email.invalid> wrote:
>>> If I do
>>>
>>> X="my[[:space:]]spc[[:space:]]dir"
>>> echo $X
>>>
>>> the output is unexpectedly
>>>
>>> my spc dir
>>
>> Not for me:
>>
>> salfter@salfter ~ $ X="my[[:space:]]spc[[:space:]]dir" salfter@salfter ~
>> $ echo $X my[[:space:]]spc[[:space:]]dir
>
> I think it's been established that the behaviour is dependent on having
> files in the current directory that match the pattern.

Yeah...saw that shortly after I'd posted. That's what happens when you
don't read the whole thread first. :)

--
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor