bash script to handle a DB in semicolon-separeted fields in one single text file