def main():
args = parser.parse_args()<EOL>filehandle = args.filename<EOL>delim = args.delimiter<EOL>columns = args.columns[<NUM_LIT:0>]<EOL>if not columns:<EOL><INDENT>for line in filehandle:<EOL><INDENT>print(line, end='<STR_LIT:U+0020>')<EOL><DEDENT>exit(<NUM_LIT:0>)<EOL><DEDENT>cs = list(chain.from_iterable(columns))<EOL>fields = (extract_fields(line, delim, cs) for line in filehandle)<EOL>for line in fields:<EOL><INDENT>print('<STR_LIT:U+0020>'.join(line))<EOL><DEDENT>args.filename.close()<EOL>
Main Entry Point