Chet Ramey:
> On 7/15/19 6:19 PM, astian wrote:
>
>>> I doubt it makes any difference to the timing, which I think
>>> Chet has already answered, but it is worth pointing out that these
>>> two commands ...
>>>
>>> printf '%s\n' "`printf %s "$i"`"
>>> printf
On 7/16/19 3:03 PM, astian wrote:
> Ah, thanks for the clarification. I wonder if the excerpt below (particularly
> the last sentence) would be the relevant wording of POSIX, i.e. that some
> shells might interpret the command as the concatenation of a double-quoted
> string, the unquoted $i, and
On 7/15/19 6:19 PM, astian wrote:
>> I doubt it makes any difference to the timing, which I think
>> Chet has already answered, but it is worth pointing out that these
>> two commands ...
>>
>> printf '%s\n' "`printf %s "$i"`"
>> printf '%s\n' "$(printf %s
On 7/16/19 2:15 AM, ChanakanZ Tech wrote:
> Bash Version: 5.0
> Patch Level: 0
> Release Status: release
>
> Description:
> When the text in line got too long, the line duplicated into two
Sorry, if you mean line wrapping, in the sense that the cursor moves to the
next screen line, this
On Tue, Jul 16, 2019 at 01:15:50PM +0700, ChanakanZ Tech wrote:
> Description:
> When the text in line got too long, the line duplicated into two
>
> Repeat-By:
> type something very long in it. It gonna duplicated into another
> one when it long than a terminal width. PS: Sorry fo
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security
uname output: Linux ChanaComputer-Linux 5.0.0-21-generic
#22~system76-Ubuntu SMP Fri Jul 5 18:10:39 UTC 2019 x86_64 x86_64
On Jul 16 2019, Ilkka Virta wrote:
> On 15.7. 20:49, Robert Elz wrote:
>
>> printf '%s\n' "`printf %s "$i"`"
>> printf '%s\n' "$(printf %s "$i")"
>>
>> aren't actually the same. In the first $i is unquoted, in the second it is
>> quoted.
>
> Huh, rea
On 15.7. 20:49, Robert Elz wrote:
printf '%s\n' "`printf %s "$i"`"
printf '%s\n' "$(printf %s "$i")"
aren't actually the same. In the first $i is unquoted, in the second it is
quoted.
Huh, really? It looks to me like the first one treats $i