Variables de passage aux options de bash

var="myval"
cmd --option "$val" # equivalent to cmd --option "myval"
Lazy Lizard