Multiple parameters in CLI cypher-script

Neo4j 3.5.22
Cypher-Shell 1.1.13

I am running multiple queries that require one or more parameters using scripts, against large datasets and using cypher-shell.

Queries that require a single parameter run fine with this command:

{ echo ":param param_name=>param_val" ; cat example.cypher; } | /bin/cypher-shell -u neo4j -p pass

My attempt to pass multiple parameters returns no output and no errors. Here is the command I use:

{ echo ":param param1=>param1_val :param param2=>param2_val" ; cat example.cypher; } | /bin/cypher-shell -u neo4j -p pass

I have not found any approach that addresses passing multiple params.

Am I missing something?

I finally got this to work with a minor change.
If anyone runs into a similar issue, the following command is working fine for me:

{ echo ":param param1=>param1_val" ; echo ":param param2=>param2_val"; cat example.cypher ; } | bin/cypher-shell -u neo4j -p pass