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