[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing colouring through a line of text
From: |
Greg Wooledge |
Subject: |
Re: Changing colouring through a line of text |
Date: |
Tue, 21 Mar 2023 10:59:39 -0400 |
On Tue, Mar 21, 2023 at 08:19:35PM +0530, Bipul kumar wrote:
> To retrieve the desired string for the blue and white outputs, I have used
> the cut command in a subshell.
You can use bash's parameter expansions instead. left=${string:0:18}
for example. This saves a lot of time.
- Re: Changing colouring through a line of text, (continued)
- Re: Changing colouring through a line of text, Greg Wooledge, 2023/03/20
- Re: Changing colouring through a line of text, Bipul kumar, 2023/03/21
- Re: Changing colouring through a line of text, Bipul kumar, 2023/03/21
- Re: Changing colouring through a line of text, uzibalqa, 2023/03/21
- Re: Changing colouring through a line of text, Bipul kumar, 2023/03/22
- Re: Changing colouring through a line of text, alex xmb ratchev, 2023/03/22
- Re: Changing colouring through a line of text, alex xmb ratchev, 2023/03/22
- Re: Changing colouring through a line of text, Bipul kumar, 2023/03/23
- Re: Changing colouring through a line of text, alex xmb ratchev, 2023/03/23
- Re: Changing colouring through a line of text, Bipul kumar, 2023/03/24
- Re: Changing colouring through a line of text,
Greg Wooledge <=