READ_DATABASE(1) READ_DATABASE(1)
NNAAMMEE
_r_e_a_d___d_a_t_a_b_a_s_e_(_) - returns an array of non-commented file
lines
SSYYNNOOPPSSIISS
string *read_database(string file)
DDEESSCCRRIIPPTTIIOONN
Given a file to read, this function will read the file and
return an array of lines without any comments or blank
lines. Commented lines start with a # sign.
NNOOTTEESS
This function is an immensely inefficient way to handle
this. I must have been on drugs when I wrote it.
LLOOCCAATTIIOONN
/secure/SimulEfun/read_database.c
AAuutthhoorr
Descartes of Borg
1