Skip to content

mac grep not supportedΒ #14

@swtch1

Description

@swtch1

What did you do?

$ ./deploy-infra.sh

What did you expect to happen?

For infra components to be deployed successfully.

What actually happened?

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 ...]
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 ...]
Server version:
Agent version:
error: unable to read URL "https://github.com/parca-dev/parca/releases/download//kubernetes-manifest.yaml", server reported 404 Not Found, status code=404
error: unable to read URL "https://github.com/parca-dev/parca-agent/releases/download//kubernetes-manifest.yaml", server reported 404 Not Found, status code=404
Connect to Parca by running: kubectl port-forward -n parca svc/parca 7070
go install -v github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
...

The script tries to use grep -P which is not supported on my Mac, and continues despite the error.

Software Versions

$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions