Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that when using GNU grep (version 2.25) you have to use -P flag for Perl compatible regular expressions. E.g.:

echo "lörem ipsum" | grep -P "[^ -~]" --color

and not

echo "lörem ipsum" | grep "[^ -~]" --color



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: