help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mapfile -C issue


From: alex xmb ratchev
Subject: Re: mapfile -C issue
Date: Mon, 19 Jun 2023 21:38:52 +0200

On Mon, Jun 19, 2023, 19:37 Emanuele Torre <torreemanuele6@gmail.com> wrote:

> On Mon, Jun 19, 2023 at 01:30:13PM -0400, Chet Ramey wrote:
> > > > And -c3 WILL NOT call C every 3 records, before assigning those three
> > > > records passing   key1 value1 key2 value2 key3 value3   to C.
> > > >
> > >
> > > i see , didnt get that so
> > >
> > > thanks
> > >
> > > That is not how it is documented to work.
> >
> > How so? This is how it's documented:
>
> I think the OP just misquoted my message: "That is not how it is
> documented to work." was part of my message and was in reference to the
> previous paragraph.
>

just felt like chet asked me about this sentense
.. but its not from me

:))

btw , this is how my C looks like

    C() {
   case $(( $1 % 3 )) in
  0)
c=$2
  ;;
  1)
c=${2#"$c/"}.$oe
 if eval -- "$Ac" ; then
C+=( "$c" "$2" )
 else
unset -v c
 fi
  ;;
  2)
 [[ ! -v c ]] &&
return
A+=( "$c" "$2" )
  ;;
   esac
    }

o/
>  emanuele6
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]