↧
Answer by Gilles Quenot for functions arguments
In bash, the argument separators are spaces, so : instead of : x_pos="$(convert_coordinates $x_pos, $x_marg, $x_grid, $x_max)" do x_pos="$(convert_coordinates $x_pos $x_marg $x_grid $x_max)"
View Articlefunctions arguments
I am having trouble with what should be a simple bash script. I have a bash script that works perfectly: function convert_to () x_max=2038 y_max=1146 x_marg=100 y_marg=30 x_grid=150 y_grid=150 if...
View Article