CharlieC3
9/3/2016 - 6:28 PM

Add arguments to positional params

Add arguments to positional params

#!/bin/bash

# $@ contains params passed into this script
set -- 1 2 3 a b c "$@"

# Now they contain [1, 2, 3, 'a', 'b', 'c', 'whatever was in it before']