What I'm trying to do is extract input from specific columns for a script. I'm using the ";" as my delimeter.
The problem I'm having is that even though I'm putting this code in a loop, I'm getting the value of the whole column as my variable rather than the string within the delimiter.
[LEFT](for properties in $inputfile
do: the piece of code above
done)[/LEFT]
I want to get one line at a time from the specified column.
What does your input data look like and what data from it do you want? There's probably better ways than running awk in backticks all the time too, like
while IFS=";" read roleName roleDescription roleAuthProfile mappedUserID mapType userID G
do
echo "column 1 is ${roleName}"
...
done < infile
This is more straightforward and hundreds of times faster.