help-bash
[Top][All Lists]
Advanced

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

trim both prefix and suffix without using intermediate variable


From: Peng Yu
Subject: trim both prefix and suffix without using intermediate variable
Date: Fri, 20 Jan 2023 19:22:29 -0600

https://stackoverflow.com/questions/40055221/is-there-a-way-to-remove-both-the-prefix-and-suffix-in-one-shot-in-bash-using

I see that it says impossible to trim both a prefix and a suffix from
a string without using an intermediate variable. Is it so?

-- 
Regards,
Peng



reply via email to

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