开发者

Strange grep output

开发者 https://www.devze.com 2023-02-07 22:15 出处:网络
Shouldn\'t echo \"ab\" | grep \"[A-B]\" return nothing? Strangel开发者_运维问答y it returns ab

Shouldn't echo "ab" | grep "[A-B]" return nothing? Strangel开发者_运维问答y it returns ab

LE: Apparently on older versions of Ubuntu (9.10) there's no problem, only 10.10 has this


It doesn't return anything on my system.


Need use grep -i, to ignore case of characters

0

精彩评论

暂无评论...
验证码 换一张
取 消