File: rm.gp

package info (click to toggle)
genparse 0.9.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,456 kB
  • sloc: ansic: 8,766; cpp: 6,059; sh: 5,336; java: 578; yacc: 482; lex: 315; makefile: 302
file content (27 lines) | stat: -rw-r--r-- 920 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "coreutils.h"

d / directory	flag	"unlink directory, even if non-empty (super-user only)"
f / force	flag	"ignore nonexistant files, never prompt"
i / interactive	flag	"prompt before any removal"
rR / recursive	flag	"remove the contents of directories recursively"
v / verbose	flag	"explain what is being done"
h / help	flag	"print this help and exit"
NONE / version	flag	"print version information and exit"

#usage_begin
Remove (unlink) the FILE(s).

Usage: __PROGRAM_NAME__ [OPTION]... FILE...
__GLOSSARY_GNU__

To remove a file whose name starts with a `-', for example `-foo',
use one of these commands:
  __PROGRAM_NAME__ -- -foo

  __PROGRAM_NAME__ ./-foo

Note that if you use rm to remove a file, it is usually possible to recover
the contents of that file.  If you want more assurance that the contents are
truly unrecoverable, consider using shred.
__CODE__(emit_bug_reporting_address ();)
#usage_end