bash strip quotes code example Example: shell strip quotes temp="${opt%\"}" temp="${temp#\"}" echo "$temp"