Brad Lucas

Programming, Clojure and other interests
September 24, 2017

Passing All Script Argumments To Command

If you want to pass all the arguments to a command being called from a script user "$@".

#!/bin/bash

java -jar foo.jar "$@"
Tags: bash