Blame support/echo-container.c

Packit Service 0b245c
/* Minimal /bin/echo for in-container use.
Packit Service 0b245c
   Copyright (C) 2018 Free Software Foundation, Inc.
Packit Service 0b245c
   This file is part of the GNU C Library.
Packit Service 0b245c
Packit Service 0b245c
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 0b245c
   modify it under the terms of the GNU Lesser General Public
Packit Service 0b245c
   License as published by the Free Software Foundation; either
Packit Service 0b245c
   version 2.1 of the License, or (at your option) any later version.
Packit Service 0b245c
Packit Service 0b245c
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 0b245c
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 0b245c
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 0b245c
   Lesser General Public License for more details.
Packit Service 0b245c
Packit Service 0b245c
   You should have received a copy of the GNU Lesser General Public
Packit Service 0b245c
   License along with the GNU C Library; if not, see
Packit Service 0b245c
   <http://www.gnu.org/licenses/>.  */
Packit Service 0b245c
Packit Service 0b245c
#include <stdio.h>
Packit Service 0b245c
Packit Service 0b245c
int
Packit Service 0b245c
main (int argc, const char **argv)
Packit Service 0b245c
{
Packit Service 0b245c
  int i;
Packit Service 0b245c
Packit Service 0b245c
  for (i = 1; i < argc; i++)
Packit Service 0b245c
    {
Packit Service 0b245c
      if (i > 1)
Packit Service 0b245c
	putchar (' ');
Packit Service 0b245c
      fputs (argv[i], stdout);
Packit Service 0b245c
    }
Packit Service 0b245c
  putchar ('\n');
Packit Service 0b245c
  return 0;
Packit Service 0b245c
}