Weird character range behaviour with locales in sed regex on cygwin

后端 未结 0 1488
暗喜
暗喜 2021-01-16 09:03

Can anybody explain this?

With my default locales (LANG=en_US.UTF-8) i get this:

echo \'ab\' | sed \'s/[A-B]/!/\'  # a!
echo \'ab\' | se         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题