DragonFly On-Line Manual Pages
cl_csv(1) DragonFly General Commands Manual cl_csv(1)
Authors: Enrique Marcote (enrique.marcote@erlang-consulting.com) Miguel
Rodriguez (miguel@erlang-consulting.com)
MODULE
cl_csv
DESCRIPTION
CSV processing tool.
Utility tool to process CSV like files. Initial code from trapexit
(http://www.trapexit.org/) cookbook section.
EXTERNAL EXPORTS
Exported functions.
process_file(Filename, Fun) -> ok
Types
Filename = string()
Fun = fun()
Applies Fun with every line in Filename. Every line is converted into
a list of arguments and passed to Fun. The file Filename is
unaltered.
read(String) -> Result
Types
String = string()
Result = ok | {error, Reason}
Reason = term()
Converts a CSV string into a list of lists.
SEE ALSO
common_lib(1)
common_lib Version: 3.3.4 cl_csv(1)