2 Copyright © 2013 Alastair Stuart
4 This program is open source software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
20 int main(int argc
, char *argv
[])
32 for (i
= 1; i
< (argc
- 1); i
++)
34 printf("%s ", argv
[i
]);
36 printf("%s\n", argv
[argc
-1]); // don't print a space for the last arg