emf-creaf / forestables

Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest inventory) and IFN (Spain forest inventory) from R
https://emf-creaf.github.io/forestables/
Other
8 stars 1 forks source link

`grep -P` not available in Mac #18

Closed MalditoBarbudo closed 5 months ago

MalditoBarbudo commented 5 months ago

Seems that Mac doesn't use GNU grep but BSD grep. This means that no Perl option is available in Mac grep without installing extra sofware.

The option here is to check the OS and build the custom paths as we did before (14d11dc2843c7eeab239b9ba215fc00c89bd50e7) with grep -E for Mac, and left the grep -P option for Win and Linux.

MalditoBarbudo commented 5 months ago

Fixed, Mac now uses grep -E