We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Remove the First Capital Letter from Each Element
Remove the First Capital Letter from Each Element
Sort by
recency
|
175 Discussions
|
Please Login in order to post a comment
readarray -t a arr={arr[@]}"
This function modifies a list by converting the first capital letter of each element to lowercase. It ensures uniform formatting while preserving the rest of the string. Ekbet16
Maybe it is simplier
`
readarray arr for i in (echo res | tr "\n" " " done
`