# The UNIX+POSIX standard requires that, except for "args" and "comm",
# the documentation must warn about any implementation-defined
# format specifiers that may contain blanks.
#
# Using "ps L" to grab the list isn't proper, but it's needed.
#
# This is our list for the man page:
#
#args         COMMAND 
#cmd          CMD     
#comm         COMMAND 
#command      COMMAND 
#fname        COMMAND 
#ucmd         CMD     
#ucomm        COMMAND 
#lstart       STARTED 
#bsdstart     START   
#start        STARTED 

# It gets to 819 last I checked
export COLUMNS=1111

biglist=`$TESTME L \
  | egrep -v '^(comm|args|cmd|comm|command|fname|ucmd|ucomm|lstart|bsdstart|start) ' \
  | awk '{printf("%s,",$1);}'`
numcols=`echo $biglist | tr -dc , | wc -c`

ARGS=-eo$biglist
GOOD=0
EVALFN=1

evalfn () {
  while read -a myarray; do
    [ ${#myarray[*]} == $numcols ] || return 1
  done < stdout
  return 0
}
