On Fri, Apr 05, 2019 at 03:57:16PM -0700, L A Walsh wrote:
> What would be wrong with doing something like:
>
> readarray -t last10< <(COMMAND |tail -10)
>
> That will put the last 10 lines of COMMAND_OUTPUT into
> the array 'last10'. Now you can launch another command
> to process that last
On 3/27/2019 12:49 AM, Anders Brujordet wrote:
> Usecase:
> You run a command, the output is displayed in your terminal. Now that you
> see the output, you would like to grab say an ID from this output. Instead
> of coping and pasting the output, I would like to be able to do something
> like:
> #
On 3/27/19 3:49 AM, Anders Brujordet wrote:
> Usecase:
> You run a command, the output is displayed in your terminal. Now that you
> see the output, you would like to grab say an ID from this output. Instead
> of coping and pasting the output, I would like to be able to do something
> like:
> # gre
On Wed, Mar 27, 2019 at 12:49:45AM -0700, Anders Brujordet wrote:
> Usecase:
> You run a command, the output is displayed in your terminal. Now that you
> see the output, you would like to grab say an ID from this output. Instead
> of coping and pasting the output, I would like to be able to do som