# Format for bsearch:
#   [ ... ], value
#
#   where "..." is a space-delimited list of floating-point values to search
#   "value" is the number to find in the list
#   output will contain: (response) --> (input)
#   response is -1 if the item was not found
#   note that bsearch will not sort the list for you unless the -sort option is set
#
# Full-line comments and empty lines will be preserved in the output file

[9 5 2 4 6 6 8],2	# inline comments will not be present in the output file
[23 43 58 12.5 -30],8
[1232 -24 5.7 0],0
[-1 2 3 1 4],4
[-4 3.14 922 43.234], 3.14
[5 2 -1 3], 3
[1 -1],1

[sup yo],test	# bad input!
[13 43.2,3 53],	# shouldn't have a problem with bad input