help-bash
[Top][All Lists]
Advanced

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

Re: question .. did u implent when checkwinsize no need to exteral bin t


From: Chet Ramey
Subject: Re: question .. did u implent when checkwinsize no need to exteral bin to update
Date: Tue, 25 Apr 2023 11:16:06 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 4/25/23 11:10 AM, alex xmb ratchev wrote:


    read x y < <(stty size)

aha ..
could u , explain on the fly , is that faster than the $( .. ) thing

Process substitution, redirected to the read builtin to read the two
integers that are the output of stty size: rows and columns. It still
creates a process, but it splits the output into separate variables for you.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

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