code: def list_ignored():
      '''
      List all updates that have been ignored. Ignored updates are shown
      without the '-' and version number at the end, this is how the
      softwareupdate command works.
  
      :return: The list of ignored updates
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.list_ignored
      '''
      cmd = ['softwareupdate', '--list', '--ignore']
      out = salt.utils.mac_utils.execute_return_result(cmd)
  
      # rep parses lines that look like the following:
      #     "Safari6.1.2MountainLion-6.1.2",
      # or:
      #     Safari6.1.2MountainLion-6.1.2
      rexp = re.compile('(?m)^    ["]?'
                        r'([^,|\s].*[^"|\n|,])[,|"]?')
  
      return rexp.findall(outf list_ignored():
      '''
      List all updates that have been ignored. Ignored updates are shown
      without the '-' and version number at the end, this is how the
      softwareupdate command works.
  
      :return: The list of ignored updates
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.list_ignored
      '''
      cmd = ['softwareupdate', '--list', '--ignore']
      out = salt.utils.mac_utils.execute_return_result(cmd)
  
      # rep parses lines that look like the following:
      #     "Safari6.1.2MountainLion-6.1.2",
      # or:
      #     Safari6.1.2MountainLion-6.1.2
      rexp = re.compile('(?m)^    ["]?'
                        r'([^,|\s].*[^"|\n|,])[,|"]?')
  
      return rexp.findall(out)
docs: List all updates that have been ignored. Ignored updates are shown
      without the '-' and version number at the end, this is how the
      softwareupdate command works.
  
      :return: The list of ignored updates
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.list_ignored