Saturday, July 26, 2025

Re: here one more array in the pipe prisoner..

Thank you again Mark I fixed the code..


Marc Chantreux <mc@unistra.fr> wrote:

> On Sat, Jul 26, 2025 at 10:40:07PM +0200, Dan wrote:
> > Working on the *pipe prisoner*'s headache this
> > for the purpose works:
>
> it seems you refer to something very specific while talking about
> "pipe prisoner". can you describe?

Do I need to describe how is as a prisoner of a pipe subshell? :))

>
> > for line in $( < $mypath'/'$myfile )
>
> such a fragile version! it will be word splitted!

You got it right, it was white-space dependent, thx..

> > An other wondering you need to check its portability.. :)
>
> the code I bought to you was dash/mksh/oksh compatible.

This is really good to know, I will check it later on..




Dan

------
Blog: https://bsd.gaoxio.com - Repo: https://code.5mode.com

Please reply to the mailing-list, leveraging technical stuff.

No comments:

Post a Comment