summaryrefslogtreecommitdiff
path: root/util/sbase/rm.1
diff options
context:
space:
mode:
Diffstat (limited to 'util/sbase/rm.1')
-rw-r--r--util/sbase/rm.137
1 files changed, 37 insertions, 0 deletions
diff --git a/util/sbase/rm.1 b/util/sbase/rm.1
new file mode 100644
index 00000000..604407da
--- /dev/null
+++ b/util/sbase/rm.1
@@ -0,0 +1,37 @@
+.Dd April 24, 2025
+.Dt RM 1
+.Os sbase
+.Sh NAME
+.Nm rm
+.Nd remove directory entries
+.Sh SYNOPSIS
+.Nm
+.Op Fl f
+.Op Fl Rr
+.Ar file ...
+.Sh DESCRIPTION
+.Nm
+removes each
+.Ar file .
+If
+.Ar file
+is a directory, it has to be empty unless
+.Fl R
+or
+.Fl r
+is specified.
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Fl f
+Do not prompt before removing
+.Ar file .
+Do not report when
+.Ar file
+doesn't exist or couldn't be removed.
+.It Fl Rr
+Remove directories recursively.
+.El
+.Sh SEE ALSO
+.Xr remove 3
+.Sh STANDARDS
+POSIX.1-2013.