<s> import argparse <EOL> import sys <EOL> from string import whitespace <EOL> parser = argparse . ArgumentParser ( description = '''<STR_LIT>''' ) <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:*>' , <EOL> help = '<STR_LIT>' ) <EOL> def main ( ) : <EOL> args = parser . parse_args ( ) <EOL> try : <EOL> if not args . hex : <EOL> s = sys . stdin . read ( ) . translate ( None , whitespace ) <EOL> sys . stdout . write ( s . decode ( '<STR_LIT>' ) ) <EOL> else : <EOL> sys . stdout . write ( '<STR_LIT>' . join ( sys . argv [ <NUM_LIT:1> : ] ) . decode ( '<STR_LIT>' ) ) <EOL> except TypeError , e : <EOL> sys . stderr . write ( str ( e ) + '<STR_LIT:\n>' ) <EOL> if __name__ == '<STR_LIT:__main__>' : main ( ) </s>
