<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shlex_split(s, sep):
 """Split a character on the given set of characters. Example:: ['foo', 'bar'] ['foo,bar1'] ['foo,bar', 'bla'] ['foo', 'bar,bla'] """

    lex = shlex.shlex(s, posix=True)
    lex.whitespace = sep
    lex.whitespace_split = True
    return [l for l in lex]