help-bash
[Top][All Lists]
Advanced

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

Re: Extracting parts fof a string


From: Chris F.A. Johnson
Subject: Re: Extracting parts fof a string
Date: Wed, 10 Nov 2021 13:14:49 -0500 (EST)
User-agent: Alpine 2.22 (DEB 394 2020-01-19)

On Wed, 10 Nov 2021, fatiparty--- via wrote:


I have the following string "sel" composed of "Record: Name".  I want to get 
"Name"
on the right hand side of colon ":", removing the starting space.

name=${sel#*: }

--
   Chris F.A. Johnson


reply via email to

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