Lines Matching defs:rm

31  * rm [-fiRr] file ...
73 static int rm(const char *, struct dlist *);
125 * "rm -- -" won't remove '-'.
136 (void) fprintf(stderr, gettext("usage: rm [-fiRr] file ...\n"));
144 gettext("rm: cannot stat root directory: %s\n"),
167 gettext("rm of %s is not allowed\n"), *argv);
172 while (rm(*argv, rec = cur = &top) != 0)
283 gettext("rm: cannot reopen %s: %s\n"),
288 (void) fprintf(stderr, gettext("rm: WARNING: "
290 "another directory during the execution of rm\n"),
314 rm(const char *entry, struct dlist *caller)
325 * the memory is no longer valid. So after the recursive rm()
332 (void) fprintf(stderr, "rm: %s: %s\n", pathbuf,
346 gettext("rm: %s is a directory\n"), pathbuf);
354 gettext("rm of %s is not allowed\n"), "/");
363 * rm: examine files in directory <directoryname> (y/n)?
368 gettext("rm: examine files in directory %s (%s/%s)? "),
387 gettext("rm: examine files in directory %s (%s/%s)? "),
407 "rm: cannot read directory %s: %s\n"),
415 * rm: remove <filename> (y/n)?
417 * rm: l�schen <filename> (j/n)?
421 gettext("rm: remove %s (%s/%s)? "),
427 /* If it's empty we may still be able to rm it */
434 gettext("rm: Unable to remove directory %s: %s\n") :
435 gettext("rm: cannot read directory %s: %s\n"),
450 gettext("rm: %s: directory renamed\n"), pathbuf);
465 * rm() only returns -1 if popdir failed at some point;
473 if (rm(dent->d_name, &frame) != 0)
497 if (!confirm(stderr, gettext("rm: remove %s (%s/%s)? "),
512 * rm: <filename>: override protection XXX (y/n)?
520 gettext("rm: %s: override protection %o (%s/%s)? "),
534 "rm: Cannot remove any directory in the "
541 gettext("rm: Unable to remove directory %s:"
550 gettext("rm: %s not removed: %s\n"),
575 (void) fprintf(stderr, gettext("rm: Insufficient memory.\n"));
604 gettext("rm: cycle detected for %s\n"), pathbuf);