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

📄 paste.1

📁 Unix操作系统minix 2.0源码
💻 1
字号:
.TH PASTE 1.SH NAMEpaste \- paste multiple files together.SH SYNOPSIS\fBpaste\fR [\fB\-s\fR]\fR [\fB\-d\fI list\fR] \fIfile...\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH OPTIONS.FL "\-d" "Set delimiter used to separate columns to \fIlist\fR..FL "\-s" "Print files sequentially, file \fIk\fR on line \fIk\fR..SH EXAMPLES.EX "paste file1 file2" "Print \fIfile1\fR in col 1, \fIfile2\fR in col 2".EX "paste \-s f1 f2" "Print \fIf1\fR on line 1 and \fIf2\fR on line 2".EX "paste -d : file1 file2" "Print the lines separated by a colon".SH DESCRIPTION.PP\fIPaste\fR concatenates corresponding lines of the given input filesand writes them to standard output. The lines of the different filesare separated by the delimiters given with the option \-s\fR. Ifno list is given, a tab is substituted for every linefeed, except the last one.If end-of-file is hit on an input file, subsequent lines are empty.Suppose a set of \fIk\fR files each has one word per line.  Then the \fIpaste\fR output will have \fIk\fR columns, with the contents of file \fIj\fR in column \fIj\fR.  If the \fB\-s\fR flag is given, then the firstfile is on line 1, the second file on line 2, etc.  In effect, \fB\-s\fR turns the output sideways..PPIf a list of delimiters is given, they are used in turn.  The C escapesequences \\n, \\t, \\\\, and \\0 are used for linefeed, tab, backslash, andthe null string, respectively.

⌨️ 快捷键说明

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