marmelab / greenframe-cli

Estimate the carbon footprint of a user scenario on a web application
https://greenframe.io
Other
224 stars 10 forks source link

fix: replace grep -P commands - Closes #83 #63 #84

Closed JulienMattiussi closed 1 month ago

JulienMattiussi commented 1 month ago

Change grep -P command witch is not reconized on every macOS

Closes #83 #63

This was tested on Ubuntu 24.04 and macOS 13.0.1

Nitix commented 1 month ago

Ifconfig is not installed by default anymore on Ubuntu. We have to check for ip.

JulienMattiussi commented 1 month ago

You're right, ... So let's be a little more specific