title: Returning multiple values from shell script to c program
body: <p>I am calling a shell script from a c program. I want this script to return multiple values which I want to store in a structure of my c program. For instance say 'a.c' calls 'a.sh', I want 'a.sh' to return the values to be stored in variables 'x' and 'y' which are a part of struct 's' in 'a.c'.</p>