Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-21-2016 10:57 AM
You might do something like this:
# alternatives --list | awk '{print $1}' | xargs -n1 alternatives --display |grep "^/" > all_alternatives.txt
# awk -F ' ' -v NCOLS=4 'NF!=NCOLS{printf "Wrong number of columns at line %d\n", NR}' all_alternatives.txt
The above will list out all the alternatives display information and write that to a file
Then, it will check to see if there are any lines with more or less than 4 columns and print out the line number.
You could then use that line number to reference the all_alternatives.txt file line.
That should show us which alternative is tripping up the agent.