Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

No line available at 300 baud.


devel / comp.unix.shell / bash: append in place

SubjectAuthor
* bash: append in placeKenny McCormack
+- Re: bash: append in placeJohn-Paul Stewart
+* Re: bash: append in placeBen Bacarisse
|`* Re: bash: append in placeBen Bacarisse
| `* Re: bash: append in placeKenny McCormack
|  `* Re: bash: append in placeapplemcg
|   `* Re: bash: append in placeKenny McCormack
|    `* Re: bash: append in placeapplemcg
|     `- Re: bash: append in placeKenny McCormack
+- Re: bash: append in placeChristian Weisgerber
+* Re: bash: append in placeJanis Papanagnou
|+* Re: bash: append in placeJanis Papanagnou
||`* Re: bash: append in placecastAway
|| `- Re: bash: append in placecastAway
|`* Re: bash: append in placecastAway
| `* [meta] [OT] personal topic (was Re: bash: append in place)Janis Papanagnou
|  +* Re: [meta] [OT] personal topic (was Re: bash: append in place)Spiros Bousbouras
|  |`- Re: [meta] [OT] personal topic (was Re: bash: append in place)Janis Papanagnou
|  +- Re: [meta] [OT] personal topic (was Re: bash: append in place)Pyt T.
|  +* Re: [meta] [OT] personal topic (was Re: bash: append in place)Sophie Hamilton
|  |`- Re: [meta] [OT] personal topic (was Re: bash: append in place)Janis Papanagnou
|  `* Re: [meta] [OT] personal topic (was Re: bash: append in place)Jerry Peters
|   `* Re: [meta] [OT] personal topic (was Re: bash: append in place)pH
|    `* Re: [meta] [OT] personal topic (was Re: bash: append in place)Christian Weisgerber
|     `- Re: [meta] [OT] personal topic (was Re: bash: append in place)Kees Nuyt
`* Re: bash: append in placeCyrille Lefevre
 `- Re: bash: append in placeKenny McCormack

Pages:12
bash: append in place

<tm85mi$n2c2$2@news.xmission.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5871&group=comp.unix.shell#5871

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: bash: append in place
Date: Wed, 30 Nov 2022 17:59:46 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tm85mi$n2c2$2@news.xmission.com>
Injection-Date: Wed, 30 Nov 2022 17:59:46 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="756098"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Wed, 30 Nov 2022 17:59 UTC

Note: not looking for workarounds, got plenty of my own.
In particular, if you have to code a loop, that takes the fun out of it.

Anyway, suppose I do:

$ set -- foo bar bletch

I want to pass these args to a subprogram with "/*.c" appended to each.

So, I'd like for:

$ someCommand "${@/$/\/*.c}"

to work, but it does not. This is b/c the above bash syntax doesn't deal
in reg exps; it is some other kind of pattern matcher.

I seem to remember that there is a way to do this, but I can't recall it
ATM. Any ideas?

--

"If God wanted us to believe in him, he'd exist."

(Linda Smith on "10 Funniest Londoners", TimeOut, 23rd June, 2005.)

Re: bash: append in place

<juprs2F959gU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5872&group=comp.unix.shell#5872

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: jpstewart@personalprojects.net (John-Paul Stewart)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 30 Nov 2022 15:13:21 -0500
Lines: 26
Message-ID: <juprs2F959gU1@mid.individual.net>
References: <tm85mi$n2c2$2@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ErfWm1y93QarYLkT7NDSgwFbfBgGRxmwj9+1GxlFLm12gbe6B8
Cancel-Lock: sha1:wV9DoVRUNu3JsXyUPRlqYw5j4dE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Content-Language: en-CA
In-Reply-To: <tm85mi$n2c2$2@news.xmission.com>
 by: John-Paul Stewart - Wed, 30 Nov 2022 20:13 UTC

On 11/30/22 12:59, Kenny McCormack wrote:
> Note: not looking for workarounds, got plenty of my own.
> In particular, if you have to code a loop, that takes the fun out of it.
>
> Anyway, suppose I do:
>
> $ set -- foo bar bletch
>
> I want to pass these args to a subprogram with "/*.c" appended to each.
>
> So, I'd like for:
>
> $ someCommand "${@/$/\/*.c}"
>
> to work, but it does not. This is b/c the above bash syntax doesn't deal
> in reg exps; it is some other kind of pattern matcher.
>
> I seem to remember that there is a way to do this, but I can't recall it
> ATM. Any ideas?

Instead of the $ that a regex would use to match the end of a string,
use the shell wildcard * to match anything. Then use & in the
replacement text to insert whatever matched that pattern:

$ someCommand "${@/*/&\/*.c}"

Re: bash: append in place

<87mt88b3mu.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5873&group=comp.unix.shell#5873

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 30 Nov 2022 20:15:21 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87mt88b3mu.fsf@bsb.me.uk>
References: <tm85mi$n2c2$2@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="98cddb95b58d3d7802a728d774290c26";
logging-data="2730817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192RVMkEoZ9L+R4NcqQrfoEdE6katf4Low="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:0Ddqw8hckU59RuyGCGPRVT2N/rw=
sha1:naOOkzpU2HESIvP4Exbzm5yHvyM=
X-BSB-Auth: 1.d8b244491ac12138f3a7.20221130201521GMT.87mt88b3mu.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 30 Nov 2022 20:15 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:

> Note: not looking for workarounds, got plenty of my own.
> In particular, if you have to code a loop, that takes the fun out of it.
>
> Anyway, suppose I do:
>
> $ set -- foo bar bletch
>
> I want to pass these args to a subprogram with "/*.c" appended to each.

> I seem to remember that there is a way to do this, but I can't recall it
> ATM. Any ideas?

echo "${@/*/&\/*.c}"

--
Ben.

Re: bash: append in place

<87h6ygb3j3.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5874&group=comp.unix.shell#5874

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 30 Nov 2022 20:17:36 +0000
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <87h6ygb3j3.fsf@bsb.me.uk>
References: <tm85mi$n2c2$2@news.xmission.com> <87mt88b3mu.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="98cddb95b58d3d7802a728d774290c26";
logging-data="2730817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tmfX6YScle3mfpULD4GAEr5Qyu+95XB4="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:eUDJR0DyI/snnqJugx9av2NTsyg=
sha1:Y7l9Q160rpl71nVSBWXSEJfss6w=
X-BSB-Auth: 1.938dd791996201b8ddfd.20221130201736GMT.87h6ygb3j3.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 30 Nov 2022 20:17 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:

> gazelle@shell.xmission.com (Kenny McCormack) writes:
>
>> Note: not looking for workarounds, got plenty of my own.
>> In particular, if you have to code a loop, that takes the fun out of it.
>>
>> Anyway, suppose I do:
>>
>> $ set -- foo bar bletch
>>
>> I want to pass these args to a subprogram with "/*.c" appended to each.
>
>> I seem to remember that there is a way to do this, but I can't recall it
>> ATM. Any ideas?
>
> echo "${@/*/&\/*.c}"

But there is also new syntax I've not seem before:

echo "${@/%/\/*.c}"

(/# and /% match at the beginning and the end so here we match nothing
at the end)

--
Ben.

Re: bash: append in place

<slrntofhqt.hnd.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5877&group=comp.unix.shell#5877

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: naddy@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 30 Nov 2022 21:13:01 -0000 (UTC)
Message-ID: <slrntofhqt.hnd.naddy@lorvorc.mips.inka.de>
References: <tm85mi$n2c2$2@news.xmission.com>
Injection-Date: Wed, 30 Nov 2022 21:13:01 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="18158"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Wed, 30 Nov 2022 21:13 UTC

On 2022-11-30, Kenny McCormack <gazelle@shell.xmission.com> wrote:

> $ set -- foo bar bletch
>
> I want to pass these args to a subprogram with "/*.c" appended to each.
>
> So, I'd like for:
>
> $ someCommand "${@/$/\/*.c}"
>
> to work, but it does not. This is b/c the above bash syntax doesn't deal
> in reg exps; it is some other kind of pattern matcher.

If the pattern starts with '%', it is matched at the end. That
also works with an empty pattern:

$ someCommand "${@/%//*.c}"

> I seem to remember that there is a way to do this, but I can't recall it
> ATM.

I had no idea this was possible, until I checked the man page.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: bash: append in place

<tm8n8g$2k1as$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5878&group=comp.unix.shell#5878

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 30 Nov 2022 23:59:28 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <tm8n8g$2k1as$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 30 Nov 2022 22:59:28 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="925873409dfe09ca21d3dc09c26876b7";
logging-data="2753884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mXOGXuNOGOBxgBmXen0Fn"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:TPR2IAGQm3OIRujTBskfoeI4C+k=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <tm85mi$n2c2$2@news.xmission.com>
 by: Janis Papanagnou - Wed, 30 Nov 2022 22:59 UTC

On 30.11.2022 18:59, Kenny McCormack wrote:
> Note: not looking for workarounds, got plenty of my own.
> In particular, if you have to code a loop, that takes the fun out of it.
>
> Anyway, suppose I do:
>
> $ set -- foo bar bletch
>
> I want to pass these args to a subprogram with "/*.c" appended to each.
>
> So, I'd like for:
>
> $ someCommand "${@/$/\/*.c}"
>
> to work, but it does not. This is b/c the above bash syntax doesn't deal
> in reg exps; it is some other kind of pattern matcher.

You've already got an answer using ${var/%...} which can (obviously in
bash and zsh, but not in ksh) be simply written as "${@/%/.c}"

$ set -- foo bar bletch
$ echo "${@/%/.c}"

(the more complex syntax in the other post produces "foo\/*.c bar\/*.c
bletch\/*.c" in my environment which is not what I'd expect)

If you want to avoid using/overwriting the positional parameters you can
also use that pattern with array variables

$ arr=( foo bar bletch )
$ printf "'%s'\n" "${arr[@]/%/.c}"

>
> I seem to remember that there is a way to do this, but I can't recall it
> ATM. Any ideas?

Unless having a need for the arguments to be stored as $@, and the 'set'
is just a part of the test sample you can use brace expansion (at least
for constant file lists) like

$ echo {foo,bar,bletch}.c

Janis

Re: bash: append in place

<tm8nh0$2k3rk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5879&group=comp.unix.shell#5879

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Thu, 1 Dec 2022 00:03:59 +0100
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <tm8nh0$2k3rk$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 30 Nov 2022 23:04:00 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4b99954067aed3070c15eb64c0812ce1";
logging-data="2756468"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ssQsqCPcrpPz6ikEp6Tka"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:DLuTQghKtYYs3n+tx3VImtLbfGw=
In-Reply-To: <tm8n8g$2k1as$1@dont-email.me>
 by: Janis Papanagnou - Wed, 30 Nov 2022 23:03 UTC

On 30.11.2022 23:59, Janis Papanagnou wrote:
>
> $ arr=( foo bar bletch )
> $ printf "'%s'\n" "${arr[@]/%/.c}"

$ arr=( foo bar bletch )
$ echo "${arr[@]/%/.c}"

Forgot to simplify that variant for the post (for clarity).

Janis

Re: bash: append in place

<tm9qb8$nuf4$2@news.xmission.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5881&group=comp.unix.shell#5881

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Thu, 1 Dec 2022 08:58:16 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tm9qb8$nuf4$2@news.xmission.com>
References: <tm85mi$n2c2$2@news.xmission.com> <87mt88b3mu.fsf@bsb.me.uk> <87h6ygb3j3.fsf@bsb.me.uk>
Injection-Date: Thu, 1 Dec 2022 08:58:16 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="784868"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 1 Dec 2022 08:58 UTC

In article <87h6ygb3j3.fsf@bsb.me.uk>,
Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:
>Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>
>> gazelle@shell.xmission.com (Kenny McCormack) writes:
>>
>>> Note: not looking for workarounds, got plenty of my own.
>>> In particular, if you have to code a loop, that takes the fun out of it.
>>>
>>> Anyway, suppose I do:
>>>
>>> $ set -- foo bar bletch
>>>
>>> I want to pass these args to a subprogram with "/*.c" appended to each.
>>
>>> I seem to remember that there is a way to do this, but I can't recall it
>>> ATM. Any ideas?
>>
>> echo "${@/*/&\/*.c}"
>
>But there is also new syntax I've not seem before:
>
> echo "${@/%/\/*.c}"
>
>(/# and /% match at the beginning and the end so here we match nothing
>at the end)

Thanks. These both looks like useful suggestions. I haven't tested them
yet, but it looks right.

--
A 70 year old man who watches 6 hours of TV a day, plays a lot of golf
and seems to always be in Florida is a retiree, not a president.

Re: bash: append in place

<556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5882&group=comp.unix.shell#5882

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:4708:b0:6fa:ada7:e51b with SMTP id bs8-20020a05620a470800b006faada7e51bmr45351533qkb.674.1669905346721;
Thu, 01 Dec 2022 06:35:46 -0800 (PST)
X-Received: by 2002:a05:6870:4192:b0:141:ae05:159e with SMTP id
y18-20020a056870419200b00141ae05159emr40016170oac.39.1669905346391; Thu, 01
Dec 2022 06:35:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Thu, 1 Dec 2022 06:35:46 -0800 (PST)
In-Reply-To: <tm9qb8$nuf4$2@news.xmission.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:a284:300:4507:fb89:7b30:ca7b;
posting-account=cdsHlAoAAAChJwblggpJABTs6mDsS965
NNTP-Posting-Host: 2600:4040:a284:300:4507:fb89:7b30:ca7b
References: <tm85mi$n2c2$2@news.xmission.com> <87mt88b3mu.fsf@bsb.me.uk>
<87h6ygb3j3.fsf@bsb.me.uk> <tm9qb8$nuf4$2@news.xmission.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com>
Subject: Re: bash: append in place
From: marty.mcgowan@gmail.com (applemcg)
Injection-Date: Thu, 01 Dec 2022 14:35:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2611
 by: applemcg - Thu, 1 Dec 2022 14:35 UTC

you are looking for shell brace expansion:

https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html

echo {foo,bar,bletch}.c

pre, and post, nested, ... all work. good luck

On Thursday, December 1, 2022 at 3:58:21 AM UTC-5, Kenny McCormack wrote:
> In article <87h6ygb...@bsb.me.uk>,
> Ben Bacarisse <ben.u...@bsb.me.uk> wrote:
> >Ben Bacarisse <ben.u...@bsb.me.uk> writes:
> >
> >> gaz...@shell.xmission.com (Kenny McCormack) writes:
> >>
> >>> Note: not looking for workarounds, got plenty of my own.
> >>> In particular, if you have to code a loop, that takes the fun out of it.
> >>>
> >>> Anyway, suppose I do:
> >>>
> >>> $ set -- foo bar bletch
> >>>
> >>> I want to pass these args to a subprogram with "/*.c" appended to each.
> >>
> >>> I seem to remember that there is a way to do this, but I can't recall it
> >>> ATM. Any ideas?
> >>
> >> echo "${@/*/&\/*.c}"
> >
> >But there is also new syntax I've not seem before:
> >
> > echo "${@/%/\/*.c}"
> >
> >(/# and /% match at the beginning and the end so here we match nothing
> >at the end)
> Thanks. These both looks like useful suggestions. I haven't tested them
> yet, but it looks right.
>
> --
> A 70 year old man who watches 6 hours of TV a day, plays a lot of golf
> and seems to always be in Florida is a retiree, not a president.

Re: bash: append in place

<tmaei2$o7j9$1@news.xmission.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5883&group=comp.unix.shell#5883

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Thu, 1 Dec 2022 14:43:14 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tmaei2$o7j9$1@news.xmission.com>
References: <tm85mi$n2c2$2@news.xmission.com> <87h6ygb3j3.fsf@bsb.me.uk> <tm9qb8$nuf4$2@news.xmission.com> <556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com>
Injection-Date: Thu, 1 Dec 2022 14:43:14 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="794217"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 1 Dec 2022 14:43 UTC

In article <556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com>,
applemcg <marty.mcgowan@gmail.com> wrote:
>you are looking for shell brace expansion:

No, I'm not.

You might want to re-read the original post.

--
It's all Al Gore's fault...

Re: bash: append in place

<7a1a6b31-4202-4937-aad3-7da4dfb20e03n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5906&group=comp.unix.shell#5906

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:100f:b0:6fa:17e5:b62b with SMTP id z15-20020a05620a100f00b006fa17e5b62bmr78911542qkj.676.1670354171402;
Tue, 06 Dec 2022 11:16:11 -0800 (PST)
X-Received: by 2002:a05:6870:ed4a:b0:144:ae9:4d5 with SMTP id
ex10-20020a056870ed4a00b001440ae904d5mr15541090oab.127.1670354170964; Tue, 06
Dec 2022 11:16:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 6 Dec 2022 11:16:10 -0800 (PST)
In-Reply-To: <tmaei2$o7j9$1@news.xmission.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:a284:300:dc9b:5bd3:fc49:ef5c;
posting-account=cdsHlAoAAAChJwblggpJABTs6mDsS965
NNTP-Posting-Host: 2600:4040:a284:300:dc9b:5bd3:fc49:ef5c
References: <tm85mi$n2c2$2@news.xmission.com> <87h6ygb3j3.fsf@bsb.me.uk>
<tm9qb8$nuf4$2@news.xmission.com> <556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com>
<tmaei2$o7j9$1@news.xmission.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a1a6b31-4202-4937-aad3-7da4dfb20e03n@googlegroups.com>
Subject: Re: bash: append in place
From: marty.mcgowan@gmail.com (applemcg)
Injection-Date: Tue, 06 Dec 2022 19:16:11 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2008
 by: applemcg - Tue, 6 Dec 2022 19:16 UTC

On Thursday, December 1, 2022 at 9:43:19 AM UTC-5, Kenny McCormack wrote:
> In article <556afb46-f290-42d4...@googlegroups.com>,
> applemcg <marty....@gmail.com> wrote:
> >you are looking for shell brace expansion:
> No, I'm not.
>
> You might want to re-read the original post.
>
> --
> It's all Al Gore's fault...

Why not this then, I missed the slash:

lib.$ set {foo,bar,zot}/*.c
lib.$ ea
3 foo/*.c bar/*.c zot/*.c
lib.$

p.s. i somehow got hooked on "zot" as rounding out the trio.

might i ask why shell brace expansion isn't a solution. i was moved by the OP:

"I seem to remember that there is a way to do this, but I can't recall it
ATM. Any ideas? "

this is a suitable idea.

Re: bash: append in place

<tmot4n$vq9g$1@news.xmission.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5907&group=comp.unix.shell#5907

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 7 Dec 2022 02:17:59 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tmot4n$vq9g$1@news.xmission.com>
References: <tm85mi$n2c2$2@news.xmission.com> <556afb46-f290-42d4-b159-d4ccff867de9n@googlegroups.com> <tmaei2$o7j9$1@news.xmission.com> <7a1a6b31-4202-4937-aad3-7da4dfb20e03n@googlegroups.com>
Injection-Date: Wed, 7 Dec 2022 02:17:59 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1042736"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Wed, 7 Dec 2022 02:17 UTC

In article <7a1a6b31-4202-4937-aad3-7da4dfb20e03n@googlegroups.com>,
applemcg <marty.mcgowan@gmail.com> wrote:
>On Thursday, December 1, 2022 at 9:43:19 AM UTC-5, Kenny McCormack wrote:
>> In article <556afb46-f290-42d4...@googlegroups.com>,
>> applemcg <marty....@gmail.com> wrote:
>> >you are looking for shell brace expansion:
>> No, I'm not.
>>
>> You might want to re-read the original post.
....
>Why not this then, I missed the slash:
>
>lib.$ set {foo,bar,zot}/*.c
>lib.$ ea
>3 foo/*.c bar/*.c zot/*.c
>lib.$
>
>p.s. i somehow got hooked on "zot" as rounding out the trio.
>
>might i ask why shell brace expansion isn't a solution.

It is close, but doesn't quite work.

The problem is that, in real life, the contents of $@ comes from the
command line invocation of the script, not from "set --".

So, you need a way to get from "$@" to {contents,of,that,variable}/"*.c".
I've grappled with this problem before in other contexts - getting from a
shell variable to brace expansion. It can be done, but it is messy.

Also, although not made 100% clear in the OP, I need it to end with *.c,
not with an expansion of all the C source files in the directory. Hence,
you need to quote it as above.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/RoyDeLoon

Re: bash: append in place

<tq7p5s$3jdhg$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5936&group=comp.unix.shell#5936

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no@where.com (castAway)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 18 Jan 2023 00:31:08 -0300
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <tq7p5s$3jdhg$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Jan 2023 03:31:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="70da77240047215f9ff1426a8446b41c";
logging-data="3782192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hjrnP+0GPQxnvRK6MLlUsXBM1mrfSz9k="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:yd8bb5Hol+W0OrxhebdI18U/p1E=
In-Reply-To: <tm8n8g$2k1as$1@dont-email.me>
Content-Language: pt-BR, en-GB
 by: castAway - Wed, 18 Jan 2023 03:31 UTC

On 30/11/2022 19:59, Janis Papanagnou wrote:
> On 30.11.2022 18:59, Kenny McCormack wrote:
>> Note: not looking for workarounds, got plenty of my own.
>> In particular, if you have to code a loop, that takes the fun out of it.
>>
>> Anyway, suppose I do:
>>
>> $ set -- foo bar bletch
>>
>> I want to pass these args to a subprogram with "/*.c" appended to each.
>>
>> So, I'd like for:
>>
>> $ someCommand "${@/$/\/*.c}"
>>
>> to work, but it does not. This is b/c the above bash syntax doesn't deal
>> in reg exps; it is some other kind of pattern matcher.
>
> You've already got an answer using ${var/%...} which can (obviously in
> bash and zsh, but not in ksh) be simply written as "${@/%/.c}"
>
> $ set -- foo bar bletch
> $ echo "${@/%/.c}"
>
> (the more complex syntax in the other post produces "foo\/*.c bar\/*.c
> bletch\/*.c" in my environment which is not what I'd expect)
>
> If you want to avoid using/overwriting the positional parameters you can
> also use that pattern with array variables
>
> $ arr=( foo bar bletch )
> $ printf "'%s'\n" "${arr[@]/%/.c}"
>
>>
>> I seem to remember that there is a way to do this, but I can't recall it
>> ATM. Any ideas?
>
> Unless having a need for the arguments to be stored as $@, and the 'set'
> is just a part of the test sample you can use brace expansion (at least
> for constant file lists) like
>
> $ echo {foo,bar,bletch}.c
>
>
> Janis
>

So what does Janis mean? Is that a nickname?

Well, I wonder, Janis Joplin. Like a bi singer.+

That would be too great to have a woman looking at our code

Re: bash: append in place

<tq7pa9$3jdhg$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5937&group=comp.unix.shell#5937

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no@where.com (castAway)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 18 Jan 2023 00:33:29 -0300
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <tq7pa9$3jdhg$2@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tm8nh0$2k3rk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Jan 2023 03:33:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="70da77240047215f9ff1426a8446b41c";
logging-data="3782192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G3I1cNwrs4OYieLjAFzhR2778XTtQPMo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:pk9E1GFEjdksc1kMc5HQRMcruCw=
Content-Language: pt-BR, en-GB
In-Reply-To: <tm8nh0$2k3rk$1@dont-email.me>
 by: castAway - Wed, 18 Jan 2023 03:33 UTC

On 30/11/2022 20:03, Janis Papanagnou wrote:
> Janis Papanagnou

just a nickname, i have seen on google search, they may deem Janis as woman
perhaps not

Re: bash: append in place

<tq7phm$3jdhg$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5938&group=comp.unix.shell#5938

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no@where.com (castAway)
Newsgroups: comp.unix.shell
Subject: Re: bash: append in place
Date: Wed, 18 Jan 2023 00:37:26 -0300
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tq7phm$3jdhg$3@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tm8nh0$2k3rk$1@dont-email.me> <tq7pa9$3jdhg$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Jan 2023 03:37:26 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="70da77240047215f9ff1426a8446b41c";
logging-data="3782192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9ezSPlF6BUMYjLwB4kT0rtsyjdK8FBds="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:eqCP3MHzTrFrmCuAzX5x8VBhn/Y=
In-Reply-To: <tq7pa9$3jdhg$2@dont-email.me>
Content-Language: pt-BR, en-GB
 by: castAway - Wed, 18 Jan 2023 03:37 UTC

On 18/01/2023 00:33, castAway wrote:
> On 30/11/2022 20:03, Janis Papanagnou wrote:
>> Janis Papanagnou
>
>
> just a nickname, i have seen on google search, they may deem Janis as woman
> perhaps not
>
>
>
as far as i know, he is is a boy

[meta] [OT] personal topic (was Re: bash: append in place)

<tq80dt$3kgl3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5939&group=comp.unix.shell#5939

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Wed, 18 Jan 2023 06:34:53 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <tq80dt$3kgl3$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Jan 2023 05:34:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="44de8d69934f6bd1ef29d0daf4b9f420";
logging-data="3818147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DIRdGM7UYW4ES+Zw/nzc1"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:jrIChTOFH7TsqPSQmU74BGjcuRo=
In-Reply-To: <tq7p5s$3jdhg$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Wed, 18 Jan 2023 05:34 UTC

On 18.01.2023 04:31, castAway wrote:
> On 30/11/2022 19:59, Janis Papanagnou wrote:
>>
>> Janis
>
> So what does Janis mean? Is that a nickname?

It's a common forename you find in western Christian cultures that is
very common in many countries in their own country specific forms.
Mine stems from the Greek culture where the non-abbreviated spelling
is Ioannis. In anglo-american cultures it's usually written as Yanis;
see also the prominent Yanis Varoufakis (university professor in the
USA, IIRC, and temporarily part of the Greek government during the
financial crisis a decade ago).

So, no, it's (in this case) not a nickname. I prefer posting by real
name, while otherwise trying to keep my privacy intact - if (e.g.)
you're using google to find pictures of me you get only pictures of
other persons (even female ones) despite, I dare to say, that Janis
Papanagnou is a quite unique name combination even world wide.

>
> Well, I wonder, Janis Joplin. Like a bi singer.+

I always wondered whether that was a phonetic transcription of the
name Janice or a normal female name in the USA. Besides Janis Joplin
I've never seem that name given to a woman (but who am I to know).

>
> That would be too great to have a woman looking at our code

I'm sorry to have to disappoint you here. :-)

Myself I prefer to not distinguish personalities by gender; respect
everyone as he or she deserves it.

(OTOH it's indeed strange that there's so few (or even no) female
posters around here.)

Janis

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<FtQREXOvvrHX=jaWS@bongo-ra.co>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5940&group=comp.unix.shell#5940

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: spibou@gmail.com (Spiros Bousbouras)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Wed, 18 Jan 2023 11:58:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <FtQREXOvvrHX=jaWS@bongo-ra.co>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me> <tq7p5s$3jdhg$1@dont-email.me>
<tq80dt$3kgl3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 Jan 2023 11:58:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b50cff028541759d92459c3353e3578b";
logging-data="942452"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5ZlWzqfnbT3ydquu/nYfv"
Cancel-Lock: sha1:7G1qs0X4kEfiH5nmxngTCfpSuZA=
X-Organisation: Weyland-Yutani
In-Reply-To: <tq80dt$3kgl3$1@dont-email.me>
X-Server-Commands: nowebcancel
 by: Spiros Bousbouras - Wed, 18 Jan 2023 11:58 UTC

On Wed, 18 Jan 2023 06:34:53 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 18.01.2023 04:31, castAway wrote:
> > On 30/11/2022 19:59, Janis Papanagnou wrote:
> >>
> >> Janis
> >
> > So what does Janis mean? Is that a nickname?
>
> It's a common forename you find in western Christian cultures that is
> very common in many countries in their own country specific forms.

Like John in English or Johannes in German.

> Mine stems from the Greek culture where the non-abbreviated spelling
> is Ioannis. In anglo-american cultures it's usually written as Yanis;

Or Yianis or Yiannis. In German "J" is pronounced differently than in
English so for a German speaking person the natural pronunciation of
"Janis" is Yianis. I think in German "judo" is pronounced yioudo.

> see also the prominent Yanis Varoufakis (university professor in the
> USA, IIRC, and temporarily part of the Greek government during the
> financial crisis a decade ago).
>
> So, no, it's (in this case) not a nickname. I prefer posting by real
> name, while otherwise trying to keep my privacy intact - if (e.g.)

[...]

> (OTOH it's indeed strange that there's so few (or even no) female
> posters around here.)

This is the case on all comp* groups I frequent. On the other hand ,
rec.arts.sf.written has quite a few.

--
"Ensign Crusher is in Sickbay receiving fellatio from his mother."
"Oh no, not again," groans the Captain.
"He is not a true warrior!" exclaims Worf.
http://groups.google.co.uk/group/alt.wesley.crusher.die.die.die/msg/8cc93193b362302b

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<tq92bd$um02$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5941&group=comp.unix.shell#5941

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Wed, 18 Jan 2023 16:13:49 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tq92bd$um02$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
<FtQREXOvvrHX=jaWS@bongo-ra.co>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Jan 2023 15:13:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b3f04da338afa244f11a392eac0fe81b";
logging-data="1005570"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aJuyG7IfzwQuO1uh0tvT9"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:wA98yW7rQa4Q3l5FEjuiEl6cZ7U=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <FtQREXOvvrHX=jaWS@bongo-ra.co>
 by: Janis Papanagnou - Wed, 18 Jan 2023 15:13 UTC

On 18.01.2023 12:58, Spiros Bousbouras wrote:
> On Wed, 18 Jan 2023 06:34:53 +0100
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> On 18.01.2023 04:31, castAway wrote:
>>> On 30/11/2022 19:59, Janis Papanagnou wrote:
>>>>
>>>> Janis
>>>
>>> So what does Janis mean? Is that a nickname?
>>
>> It's a common forename you find in western Christian cultures that is
>> very common in many countries in their own country specific forms.
>
> Like John in English or Johannes in German.

Exactly. And there's also abbreviated derived name forms like "Hans"
(in German). Also in other [Christian] countries it's typically a
very very common name; e.g. Jean in France, Giovanni in Italy, Juan
in Spanish, or Ivan in Russia, just to name a few prominent ones.
The Wikipedia has a nice thorough list of yet more language forms:
https://en.wikipedia.org/wiki/Johannes

Janis

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<tq9i3b$1nj5$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5942&group=comp.unix.shell#5942

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!OT7FtAV1zqgEPGWUd8A19A.user.46.165.242.91.POSTED!not-for-mail
From: pyt_t@aol.com (Pyt T.)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Wed, 18 Jan 2023 19:42:35 -0000 (UTC)
Organization: nederlandse stichting
Message-ID: <tq9i3b$1nj5$1@gioia.aioe.org>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="56933"; posting-host="OT7FtAV1zqgEPGWUd8A19A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: slrn/1.0.3 (Linux)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Pyt T. - Wed, 18 Jan 2023 19:42 UTC

On Wed, 18 Jan 2023 06:34:53 +0100, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 18.01.2023 04:31, castAway wrote:
>> ..
>> Well, I wonder, Janis Joplin. Like a bi singer.+
>
> I always wondered whether that was a phonetic transcription of the
> name Janice or a normal female name in the USA. Besides Janis Joplin
> I've never seem that name given to a woman (but who am I to know).

You might know the song "Run too fast fly too high" from Janis Ian. :)

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<20230119122029.30098560@theblob.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5943&group=comp.unix.shell#5943

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: es-usenet@theblob.org (Sophie Hamilton)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Thu, 19 Jan 2023 12:20:29 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <20230119122029.30098560@theblob.org>
References: <tm85mi$n2c2$2@news.xmission.com>
<tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me>
<tq80dt$3kgl3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="786db5505663e2e2d28be576d17dba99";
logging-data="1627956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19D8kieFToO3O1hYlx5AKb2"
Cancel-Lock: sha1:BMrWevC6RZ+ewrvYgDtxQeMieRc=
X-Newsreader: Claws Mail 4.1.0 (GTK 3.24.35; x86_64-pc-linux-gnu)
 by: Sophie Hamilton - Thu, 19 Jan 2023 12:20 UTC

On Wed, 18 Jan 2023 06:34:53 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> (OTOH it's indeed strange that there's so few (or even no) female
> posters around here.)

If it helps, I read this group sometimes. But I've never posted here...
before now.

We do exist!

- Sophie.

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<tqbso7$1kjmj$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5944&group=comp.unix.shell#5944

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Thu, 19 Jan 2023 17:56:39 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tqbso7$1kjmj$2@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
<20230119122029.30098560@theblob.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 16:56:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="276f1b52d1eca1c63775c24d6b996785";
logging-data="1724115"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8a4yuGANm5IkrUwQxYg9D"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:OFjrjsqEvVdglhO1xSJHPHS0t4o=
In-Reply-To: <20230119122029.30098560@theblob.org>
 by: Janis Papanagnou - Thu, 19 Jan 2023 16:56 UTC

On 19.01.2023 13:20, Sophie Hamilton wrote:
> On Wed, 18 Jan 2023 06:34:53 +0100
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> (OTOH it's indeed strange that there's so few (or even no) female
>> posters around here.)
>
> If it helps, I read this group sometimes. But I've never posted here...
> before now.
>
> We do exist!

Glad to hear! :-)

Janis

>
> - Sophie.
>

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<tqk7ct$38idg$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5945&group=comp.unix.shell#5945

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jerry@example.invalid (Jerry Peters)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Sun, 22 Jan 2023 20:47:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <tqk7ct$38idg$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me> <tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
Injection-Date: Sun, 22 Jan 2023 20:47:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7e3d3a56b61219d6b74b82f5103d5349";
logging-data="3426736"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XKDQOUhI2f2I0rRRIq/C13+4zdJcCdug="
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.157 (x86_64))
Cancel-Lock: sha1:OvD0benK1JV1sP2bhS2CezGBgbg=
 by: Jerry Peters - Sun, 22 Jan 2023 20:47 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 18.01.2023 04:31, castAway wrote:
>> On 30/11/2022 19:59, Janis Papanagnou wrote:
>>>
>>> Janis
>>
>> So what does Janis mean? Is that a nickname?
>
> It's a common forename you find in western Christian cultures that is
> very common in many countries in their own country specific forms.
> Mine stems from the Greek culture where the non-abbreviated spelling
> is Ioannis. In anglo-american cultures it's usually written as Yanis;
> see also the prominent Yanis Varoufakis (university professor in the
> USA, IIRC, and temporarily part of the Greek government during the
> financial crisis a decade ago).
>
> So, no, it's (in this case) not a nickname. I prefer posting by real
> name, while otherwise trying to keep my privacy intact - if (e.g.)
> you're using google to find pictures of me you get only pictures of
> other persons (even female ones) despite, I dare to say, that Janis
> Papanagnou is a quite unique name combination even world wide.
>
>>
>> Well, I wonder, Janis Joplin. Like a bi singer.+
>
> I always wondered whether that was a phonetic transcription of the
> name Janice or a normal female name in the USA. Besides Janis Joplin
> I've never seem that name given to a woman (but who am I to know).
>
>>
>> That would be too great to have a woman looking at our code
>
> I'm sorry to have to disappoint you here. :-)
>
> Myself I prefer to not distinguish personalities by gender; respect
> everyone as he or she deserves it.
>
> (OTOH it's indeed strange that there's so few (or even no) female
> posters around here.)
>
> Janis

I found this:

What does Janis mean?

Janis Pronunciation of Janis ? as a name for girls is a Hebrew name,
and Janis means "God is gracious". Janis is an alternate spelling
of Jane (Hebrew): originally a feminine respelling of John. Janis
is also a variation of Janice (Hebrew).

http://www.thinkbabynames.com/meaning/0/Janis

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<tqkqu5$3bolh$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5946&group=comp.unix.shell#5946

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (pH)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Mon, 23 Jan 2023 02:20:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <tqkqu5$3bolh$1@dont-email.me>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
<tqk7ct$38idg$1@dont-email.me>
Injection-Date: Mon, 23 Jan 2023 02:20:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="36e79be6ebda71ff2f8741821aad7dde";
logging-data="3531441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a9AZAAlp8ZWXnDCYZWtYw7N7LUzeX3o4="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:XP6L5bOmUU/rLv+aotMA3bexS6E=
 by: pH - Mon, 23 Jan 2023 02:20 UTC

On 2023-01-22, Jerry Peters <jerry@example.invalid> wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> On 18.01.2023 04:31, castAway wrote:
>>> On 30/11/2022 19:59, Janis Papanagnou wrote:
>>>>
>>>> Janis
>>>
>>> So what does Janis mean? Is that a nickname?
>>
>> It's a common forename you find in western Christian cultures that is
>> very common in many countries in their own country specific forms.
>> Mine stems from the Greek culture where the non-abbreviated spelling
>> is Ioannis. In anglo-american cultures it's usually written as Yanis;
>> see also the prominent Yanis Varoufakis (university professor in the
>> USA, IIRC, and temporarily part of the Greek government during the
>> financial crisis a decade ago).
>>
>> So, no, it's (in this case) not a nickname. I prefer posting by real
>> name, while otherwise trying to keep my privacy intact - if (e.g.)
>> you're using google to find pictures of me you get only pictures of
>> other persons (even female ones) despite, I dare to say, that Janis
>> Papanagnou is a quite unique name combination even world wide.
>>
>>>
>>> Well, I wonder, Janis Joplin. Like a bi singer.+
>>
>> I always wondered whether that was a phonetic transcription of the
>> name Janice or a normal female name in the USA. Besides Janis Joplin
>> I've never seem that name given to a woman (but who am I to know).
>>
>>>
>>> That would be too great to have a woman looking at our code
>>
>> I'm sorry to have to disappoint you here. :-)
>>
>> Myself I prefer to not distinguish personalities by gender; respect
>> everyone as he or she deserves it.
>>
>> (OTOH it's indeed strange that there's so few (or even no) female
>> posters around here.)
>>
>> Janis
>
> I found this:
>
> What does Janis mean?
>
> Janis Pronunciation of Janis ? as a name for girls is a Hebrew name,
> and Janis means "God is gracious". Janis is an alternate spelling
> of Jane (Hebrew): originally a feminine respelling of John. Janis
> is also a variation of Janice (Hebrew).
>
> http://www.thinkbabynames.com/meaning/0/Janis

And in Latvian Janis (there's a squiggle over the N, I think) is pronounced
YAWN-iss and is the Latvian equivalent of "John".

pH in Aptos whose mom was latvian

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<slrntssmcq.r1f.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5947&group=comp.unix.shell#5947

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!news.swapon.de!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: naddy@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Mon, 23 Jan 2023 09:55:38 -0000 (UTC)
Message-ID: <slrntssmcq.r1f.naddy@lorvorc.mips.inka.de>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me>
<tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me>
<tqk7ct$38idg$1@dont-email.me> <tqkqu5$3bolh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 23 Jan 2023 09:55:38 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="27696"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Mon, 23 Jan 2023 09:55 UTC

On 2023-01-23, pH <wNOSPAMp@gmail.org> wrote:

>> http://www.thinkbabynames.com/meaning/0/Janis
>
> And in Latvian Janis (there's a squiggle over the N, I think) is pronounced
> YAWN-iss and is the Latvian equivalent of "John".

There is no "squiggle over the N" in Latvian orthography.

Go to Wikipedia, pick an article on one of the Biblical Johns, look
at the corresponding article in Latvian (Latviešu), there it is.

The diacritic in this case is a bar (macron) over the a: Jānis.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: [meta] [OT] personal topic (was Re: bash: append in place)

<qjn0thpcqb0p2vklnejg6kfjqt37lsr7gv@dim53.demon.nl>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5948&group=comp.unix.shell#5948

  copy link   Newsgroups: comp.unix.shell
From: k.nuyt@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.unix.shell
Subject: Re: [meta] [OT] personal topic (was Re: bash: append in place)
Date: Tue, 24 Jan 2023 23:42:52 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <qjn0thpcqb0p2vklnejg6kfjqt37lsr7gv@dim53.demon.nl>
References: <tm85mi$n2c2$2@news.xmission.com> <tm8n8g$2k1as$1@dont-email.me> <tq7p5s$3jdhg$1@dont-email.me> <tq80dt$3kgl3$1@dont-email.me> <tqk7ct$38idg$1@dont-email.me> <tqkqu5$3bolh$1@dont-email.me> <slrntssmcq.r1f.naddy@lorvorc.mips.inka.de>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!94.232.112.244.MISMATCH!feed.abavia.com!abe004.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 10
Injection-Date: Tue, 24 Jan 2023 23:42:52 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: Kees Nuyt - Tue, 24 Jan 2023 22:42 UTC

On Mon, 23 Jan 2023 09:55:38 -0000 (UTC), Christian Weisgerber
<naddy@mips.inka.de> wrote:

> The diacritic in this case is a bar (macron) over the a: J?nis.

Which means it is a long 'a'.
https://translate.google.com/?sl=lv&tl=en&text=J%C4%81nis&op=translate
--
no sig

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor