Remove [.]sh prefixes and suffixes.