~jtaylor/ubuntu/oneiric/soya/fix-780305

« back to all changes in this revision

Viewing changes to ode-0.5/tools/rm.c

  • Committer: Bazaar Package Importer
  • Author(s): Marc Dequènes (Duck)
  • Date: 2005-01-30 09:55:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050130095506-f21p6v6cgaobhn5j
Tags: 0.9.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
this is a simple replacement for the windows command line 'del' command.
 
4
this is more convenient to use in the ODE makefile because of the following
 
5
differences from 'del' :
 
6
  * filenames may contain forward slashes.
 
7
  * wildcard expansion is not performed.
 
8
  * it is called 'rm', just like in unix.
 
9
 
 
10
*/
 
11
 
 
12
#include <stdio.h>
 
13
#include <stdlib.h>
 
14
 
 
15
int main (int argc, char **argv)
 
16
{
 
17
  int i;
 
18
  for (i=1; i<argc; i++) unlink (argv[i]);
 
19
  return 0;
 
20
}