.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH DIRNAME 1 "2026-09-01" .SH "نام (NAME)" dirname \- Strip last component from file name .SH "خلاصه دستور (SYNOPSIS)" \fBdirname\fR [OPTION] NAME... .SH "توضیحات (DESCRIPTION)" Strip last component from file name .SH "گزینه‌ها (OPTIONS)" .TP \fB\-z\fR, \fB\-\-zero\fR separate output with NUL rather than newline .TP \fB\-h\fR, \fB\-\-help\fR Print help .TP \fB\-V\fR, \fB\-\-version\fR Print version .SH EXTRA Output each NAME with its last non\-slash component and trailing slashes removed; if NAME contains no /\*(Aqs, output \*(Aq.\*(Aq (meaning the current directory). .SH "نسخه (VERSION)" v(uutils coreutils) 0.11.0