Skip to content

perl-regex not compatible on MacOS #2

@natalieda

Description

@natalieda

The get-macaroon option to specify the duration of a macaroon does not work on MacOS because grep won't recognise the option `--perl-regex':

mac:dcache_api_tests anatolid$ ./get-macaroon --url https://dolphin12.grid.surfsara.nl:2880/users/anatolid/ --duration PT5M --chroot --user anatolid --permissions DOWNLOAD,UPLOAD,MANAGE,LIST --output rclone tokenfile
grep: unrecognized option `--perl-regex'
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-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 ...]
Duration should be in ISO8601 duration format. Examples: PT5M (5 minutes), P1Y2M (1 year and 2 months)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions