/*****************************************************************************\
*                                                                             *
*  Name   : echo                                                              *
*  Author : Chris Koeritz                                                     *
*                                                                             *
*  Purpose:                                                                   *
*                                                                             *
*    Simply echoes the arguments passed to the program similarly to the Unix  *
*  echo program.  This is used as a lightweight replacement for the cygwin    *
*  echo application, since we're getting rid of cygwin everywhere.  The MSYS  *
*  version of echo is just a shell, but we need it as an app.                 *
*                                                                             *
*******************************************************************************
* Copyright (c) 2006-$now By Author.  This program is free software; you can  *
* redistribute it and/or modify it under the terms of the GNU General Public  *
* License as published by the Free Software Foundation; either version 2 of   *
* the License or (at your option) any later version.  This is online at:      *
*     http://www.fsf.org/copyleft/gpl.html                                    *
* Please send any updates to: fred@gruntose.com                               *
\*****************************************************************************/

#include <stdio.h>

int main(int argc, char *argv[])
{
  for (int i = 1; i < argc; i++) {
    if (i != 1) printf(" ");  // add a space between previous text and this.
    printf("%s", argv[i]);
  }
  printf("\n");
  return 0;
}

#ifdef __BUILD_STATIC_APPLICATION__
  // static dependencies found by buildor_gen_deps.sh:
#endif // __BUILD_STATIC_APPLICATION__

