Quantcast
Channel: functions arguments - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article


functions 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>