Open wallacekelly-da opened 1 year ago
I was working through this repo's example on a Mac. When I got to this step...
Use the start script for starting a ledger & the java application:
...I tried running ./start.sh examples.pingpong.grpc.PingPongGrpcMain and received this error message...
./start.sh examples.pingpong.grpc.PingPongGrpcMain
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 ...]
Googling suggests that some (but not all) versions of grep include flags -P, --perl-regexp
grep
-P, --perl-regexp
I suppose the regular expressions in start.sh should be converted from a Perl regex to a basic regex.
start.sh
I was working through this repo's example on a Mac. When I got to this step...
...I tried running
./start.sh examples.pingpong.grpc.PingPongGrpcMain
and received this error message...Googling suggests that some (but not all) versions of
grep
include flags-P, --perl-regexp
I suppose the regular expressions in
start.sh
should be converted from a Perl regex to a basic regex.