/* Determine if a command line contains with a split contains only valid commands. */
EFI_STATUS VerifySplit(IN CONST CHAR16 *CmdLine)
/* Determine if a command line contains with a split contains only valid commands. */
EFI_STATUS VerifySplit(IN CONST CHAR16 *CmdLine)
{
  CONST CHAR16  *TempSpot;
  EFI_STATUS    Status;
  if (!ContainsSplit (CmdLine)) {
    return (EFI_SUCCESS);
  }
  Status = IsValidSplit (CmdLine);
  if (EFI_ERROR (Status)) {
    return (Status);
  }
  TempSpot = FindFirstCharacter (CmdLine, L"|", L'^') + 1;
  if ((*TempSpot == L'a') &&
      ((*(TempSpot + 1) == L' ') || (*(TempSpot + 1) == CHAR_NULL))
      )
  {
    TempSpot += 1;
  }
  return (VerifySplit (TempSpot));
}