seebi / rdf.sh

A multi-tool shell script for doing Semantic Web jobs on the command line.
GNU General Public License v3.0
120 stars 9 forks source link

Use extended regex syntax instead of pearl syntax. #3

Closed 0xfeedface closed 11 years ago

0xfeedface commented 11 years ago

Improves compatibility with BSD grep.

seebi commented 11 years ago

damn, did not looked into this pr before fixing ...

seebi commented 11 years ago

ok, grep -E can be used on linux too so its better to use that

0xfeedface commented 11 years ago

Yes, -E is POSIX. Standard (non -E) syntax is more like VIM. You have to escape control use instead of literal use of +, {,(, etc.