Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Variables | |
int | dry_run = 0 |
int | read_only = 1 |
int | list_only = 0 |
Definition in file trimslash.c.
|
Definition at line 31 of file trimslash.c. References trim_trailing_slashes().
00032 { 00033 int i; 00034 00035 if (argc <= 1) { 00036 fprintf(stderr, "trimslash: needs at least one argument\n"); 00037 return 1; 00038 } 00039 00040 for (i = 1; i < argc; i++) { 00041 trim_trailing_slashes(argv[i]); /* modify in place */ 00042 printf("%s\n", argv[i]); 00043 } 00044 return 0; 00045 } |
|
Definition at line 22 of file trimslash.c. |
|
Definition at line 23 of file trimslash.c. |
|
Definition at line 24 of file trimslash.c. |