parameters: (self,content)
return_statement: return response
docstring: 解析shell命令返回结果
          :param content: shell 命令结果
          :return:解析后的结果
docstring_summary: 解析shell命令返回结果
          :param content: shell 命令结果
          :return:解析后的结果
docstring_tokens: 解析shell命令返回结果 : param content : shell 命令结果 : return : 解析后的结果
function: def parse(self,content):
          '''
          解析shell命令返回结果
          :param content: shell 命令结果
          :return:解析后的结果
          '''
          response = []
          result = []
          for row_line in content.split("\n\n\n\n"):
              result.append(row_line)
          for item in result:
              temp_dict = {}
              for row in item.split('\n'):
                  if not row.strip():
                      continue
                  if len(row.split(':')) != 2:
                      continue
                  key,value = row.split(':')
                  name =self.mega_patter_match(key);
                  if name:
                      if key == 'Raw Size':
                          raw_size = re.search('(\d+\.\d+)',value.strip())
                          if raw_size:
  
                              temp_dict[name] = raw_size.group()
                          else:
                              raw_size = '0'
                      else:
                          temp_dict[name] = value.strip()
  
              if temp_dict:
                  response.append(temp_dict)
          return response
function_tokens: def parse ( self , content ) : response = [ ] result = [ ] for row_line in content . split ( "\n\n\n\n" ) : result . append ( row_line ) for item in result : temp_dict = { } for row in item . split ( '\n' ) : if not row . strip ( ) : continue if len ( row . split ( ':' ) ) != 2 : continue key , value = row . split ( ':' ) name = self . mega_patter_match ( key ) if name : if key == 'Raw Size' : raw_size = re . search ( '(\d+\.\d+)' , value . strip ( ) ) if raw_size : temp_dict [ name ] = raw_size . group ( ) else : raw_size = '0' else : temp_dict [ name ] = value . strip ( ) if temp_dict : response . append ( temp_dict ) return response