[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] append to $@ one by one
From: |
Peng Yu |
Subject: |
Re: [Help-bash] append to $@ one by one |
Date: |
Sun, 20 Oct 2019 06:29:37 -0500 |
> If that is too slow compared
> to using an array, then I must assume that you have so much data that
> doing whatever you're doing in another language would be preferable.
Stdin can have an unlimited amount of data. This approach time
complexity is not linear with respect to the input. That is what I
mean by too slow.
> Also, is the use of an additional array variable not wanted due to
> purely aesthetic reasons?
Yes. The name of the variable "a" is nonessential. It is mentioned
twice. From the succinct perspective of the language, if it can be
avoided, it would be best.
--
Regards,
Peng
- [Help-bash] append to $@ one by one, Peng Yu, 2019/10/19
- Re: [Help-bash] append to $@ one by one, Daniel Mills, 2019/10/19
- Re: [Help-bash] append to $@ one by one, Andreas Kusalananda Kähäri, 2019/10/20
- Re: [Help-bash] append to $@ one by one,
Peng Yu <=
- Re: [Help-bash] append to $@ one by one, Eli Schwartz, 2019/10/20
- Re: [Help-bash] append to $@ one by one, Gerard E. Seibert, 2019/10/20
- Re: [Help-bash] append to $@ one by one, Peng Yu, 2019/10/20
- Re: [Help-bash] append to $@ one by one, Eduardo Bustamante, 2019/10/20
- Re: [Help-bash] append to $@ one by one, Peng Yu, 2019/10/20
- Re: [Help-bash] append to $@ one by one, Andreas Kusalananda Kähäri, 2019/10/21
Re: [Help-bash] append to $@ one by one, Jesse Hathaway, 2019/10/21