def EncodePOSIXShellList(list):
 encoded_arguments = []
 for argument in list:
  encoded_arguments.append(EncodePOSIXShellArgument(argument))
 return ' '.join(encoded_arguments)

def EncodePOSIXShellList ( list ) : encoded_arguments = [ ] for argument in list : encoded_arguments . append ( EncodePOSIXShellArgument ( argument ) ) return ' ' . join ( encoded_arguments )
encodes |list| suitably for consumption by posix shells .