- $ bash -c 'x="foo_disable" ; echo ${x%_disable}'
- foo
suffix removal in bash, ksh93, POSIX shj
Posted by Anonymous on Mon 4th Jul 2022 17:16
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.