文件操作 - doc-ditroff
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/groff/1.22.4/tmac/mdoc/doc-ditroff
编辑文件内容
.\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in .\" the documentation and/or other materials provided with the .\" distribution. .\" 3. [Deleted. See .\" ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change] .\" 4. Neither the name of the University nor the names of its .\" contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A .\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF .\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" @(#)doc-ditroff 8.1 (Berkeley) 06/08/93 .\" .\" This is a generated file, created by 'tmac/strip.sed' in groff's .\" source distribution from a file having '-u' appended to its name. .eo .if !r D .nr D 0 .if !r cR .nr cR 0 .if !r S .nr S 10 .ec .ie (\n[S] == 11) \{\ .ps 10.95z .vs 13.6p .\} .el \{ .ie (\n[S] == 12) \{\ .ps 12z .vs 14.5p .\} .el \{\ .ps 10z .vs 12p .\}\} .ds doc-caption-font \f[R]\s[\n[.ps]u] .ds doc-caption-font2 \f[R]\s[\n[.ps]u] .ds doc-Ad-font \f[I]\s[\n[.ps]u] .ds doc-Ar-font \f[CO]\s[\n[.ps]u] .ds doc-Cm-font \f[CB]\s[\n[.ps]u] .ds doc-Em-font \f[I]\s[\n[.ps]u] .ds doc-Er-font \f[C]\s[\n[.ps]u] .ds doc-Ev-font \f[C]\s[\n[.ps]u] .ds doc-Fa-font \f[CO]\s[\n[.ps]u] .ds doc-Fd-font \f[CB]\s[\n[.ps]u] .ds doc-Fl-font \f[CB]\s[\n[.ps]u] .ds doc-Fn-font \f[CB]\s[\n[.ps]u] .ds doc-Ft-font \f[CO]\s[\n[.ps]u] .ds doc-Ic-font \f[CB]\s[\n[.ps]u] .ds doc-Li-font \f[C] .ds doc-Me-font \f[B]\s[\n[.ps]u] .ds doc-Nm-font \f[CB]\s[\n[.ps]u] .ds doc-No-font \f[R]\s[\n[.ps]u] .ds doc-Pa-font \f[C]\s[\n[.ps]u] .ds doc-Sh-font \f[B]\s[\n[.ps]u] .ds doc-Sy-font \f[B]\s[\n[.ps]u] .ds doc-Sx-font \f[B]\s[\n[.ps]u] .ds doc-Tn-font-shape \f[R] .ds doc-Tn-font-size \s[(\n[.ps]u - 1z)] .ds doc-Va-font \f[I]\s[\n[.ps]u] .ds doc-Xr-font \f[C]\s[\n[.ps]u] .ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u] .ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u] .ds lp \f[R](\f[]\s[\n[.ps]u] .ds rp \f[R])\f[]\s[\n[.ps]u] .ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u] .ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u] .tr *\[**] .nr doc-subheader-indent (\w\f[C],u * 5u) .nr doc-paragraph-space .5v .nr doc-digit-width \w'\0'u .nr doc-fixed-width \w\f[C]0 .eo .nr doc-header-space .5i .nr doc-footer-space .5i .nr doc-display-vertical 0 .de doc-setup-page-layout .ie r LL \ .ll \n[LL]u .el \ .ll 6.5i .ie r LT \ .lt \n[LT]u .el \ .lt 6.5i .po 1i .nr doc-display-vertical .5v .. .ds doc-left-singlequote \[oq] .ds doc-right-singlequote \[cq] .ds <= \[<=] .ds >= \[>=] .ds Lq \[lq] .ds Rq \[rq] .ds ua \[ua] .ds aa \[aa] .ds ga \[ga] .ds q \[dq] .ds Pi \[*p] .ds Ne \[!=] .ds Le \[<=] .ds Ge \[>=] .ds Lt < .ds Gt > .ds Pm \[+-] .ds If \[if] .ds Na \f[I]NaN\f[] .ds Ba \f[R]|\f[] .ds Am & .ds doc-header-string .de doc-setup-header .ds doc-header-string "\*[doc-document-title] .if !"\*[doc-section]"Null" \ .as doc-header-string \|(\*[doc-section]) .wh 0 doc-header .wh -1.25i doc-footer .br .e@ doc-end-macro .. .de doc-get-width .nr doc-width \w\f[C]\$1 .ie (\n[doc-width] >= \n[doc-fixed-width]) \{\ .ie (\n[doc-width] % \n[doc-fixed-width]) \ .nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1) .el \ .nr doc-width (\n[doc-width] / \n[doc-fixed-width]) .\} .el \{\ .ie \n[doc-width] \ .nr doc-width 1 .el \ .nr doc-width 0 .\} .. .de doc-get-arg-width .nr doc-width \w\f[C]\*[doc-arg\$1] .ie (\n[doc-width] >= \n[doc-fixed-width]) \{\ .ie (\n[doc-width] % \n[doc-fixed-width]) \ .nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1) .el \ .nr doc-width (\n[doc-width] / \n[doc-fixed-width]) .\} .el \{\ .ie \n[doc-width] \ .nr doc-width 1 .el \ .nr doc-width 0 .\} .. .de Ql .if !\n[doc-arg-limit] \{\ .ie \n[.$] \{\ .ds doc-macro-name Ql .doc-parse-args \$@ .\} .el \ .tm Usage: .Ql argument ... (#\n[.c]) .\} .nr doc-reg-Ql (\n[doc-arg-ptr] + 1) .doc-get-arg-width \n[doc-reg-Ql] .nr doc-reg-Ql +1 .if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \ .if (\n[doc-type\n[doc-reg-Ql]] == 2) \ .nr doc-width 3 .ie (\n[doc-width] > 2) \ .Li .el \{\ .ie \n[doc-arg-ptr] \{\ .ds doc-arg\n[doc-arg-ptr] Li .nr doc-arg-ptr -1 .\} .el \{\ .nr doc-reg-Ql \n[doc-arg-limit] .nr doc-reg-Ql1 (\n[doc-arg-limit] + 1) .while \n[doc-reg-Ql] \{\ .rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1] .rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1] .rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1] .nr doc-reg-Ql -1 .nr doc-reg-Ql1 -1 .\} .ds doc-arg1 Li .nr doc-type1 1 .ds doc-space1 .nr doc-arg-limit +1 .\} .ds doc-quote-left "\*[doc-left-singlequote] .ds doc-quote-right "\*[doc-right-singlequote] .doc-enclose-string .\} .. .ec
修改文件时间
将文件时间修改为当前时间的前一年
删除文件