⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 apply.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)apply.1	8.1	9/11/90.TH apply 1.SH Nameapply \- apply a command to a set of arguments.SH Syntax.B apply[\fB\-a\fIc\fR] [\fB\-\fIn\fR] \fIcommand args...\fR.SH Description.NXR "apply program".NXR "command" "applying to arguments"The.PN applyprogram runs the named .I commandon eachargument.I argin turn.Normally arguments are chosen singly; the optional number.I nspecifies the number of arguments to be passed to.I command.If.I nis zero,.I commandis run without arguments once for each.I arg.Character sequences of the form %\fId\fPin.I command,where.I dis a digit from 1 to 9,are replaced by the\fId\fP'th following unused.I arg.If any such sequences occur,.I nis ignored,and the number of arguments passed to.I commandis the maximum value of.I din.I command.The percent sign (%) character can be changed by the.B \-aoption..SH ExamplesThe following command line is similar to .MS ls 1 :.EXapply echo *.EEThe next example compares the specified a files to the specifiedb files:.EXapply \-2 cmp a1 b1 a2 b2 ....EEThe following example run the .PN whocommand 5 times and links all files in the current directory tothe directory.PN /usr/joe :.EXapply 'ln %1 /usr/joe' *.EE.SH Restrictions.NXR "apply program" "restricted"Shell metacharacters in.I commandmay have unexpected results; it is best to enclose complicatedcommands in single quotes (' ')..PPYou cannot pass a literal, '%2', if the percent sign (%) is theargument expansion character..SH See Alsosh(1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -