near/stakewars-iii

zsh: command not found: lscpu & grep: invalid option -- P

Closed this issue · 6 comments

Hello everyone,

I'm trying to do the 2nd challenge (challenges/002.md) and to check if I have the right config

lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \
  && echo "Supported" \
  || echo "Not supported"

I have this errors :

grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
zsh: command not found: lscpu

Do you have ideas about how to solve them ?

OS ?

MacOS Monterey 12.3.1

Better to have a linux / debian

Running a validator node on a desktop computer or laptop would not have the resources needed. Please choose a cloud provider or a dedicated server.

On Wed, Aug 3, 2022 at 8:10 AM Galois Field @.> wrote: MacOS Monterey 12.3.1 — Reply to this email directly, view it on GitHub <#77 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHO5VLIKPQWGK45HMBMEN3VXJVSLANCNFSM55OJEBUQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
-- Thanks, Henry Tafolla Office: 316-202-0755 Cell: 316-841-4238 Email: @.***

Okay well thanks. I will see some options and maybe I will retry ^^
Thank you for your reactivity

Better to have a linux / debian

Yes I will look for linux server which I can use for this and other stuffs ^^