uniq
- n.显示并删除文件中重复的行(命令名)
-
Another command called uniq gives us another way of controlling the elimination of duplicate lines .
另一个名为uniq的命令为我们提供了另一种删除重复行的方式。
-
The uniq command can also ignore some fields .
uniq命令还可以忽略某些字段。
-
Remember what you learned about character and numeric sorting back in the Sort and uniq section .
回忆一下Sort和uniq小节中介绍的字符和数值排序。
-
Uniq reduces the list to the following
uniq可将列表精简为
-
Again , note how Perl was an intermediate tool between find , sort and uniq .
此外,请注意Perl是如何成为find、sort和uniq之间的中间工具的。
-
However , both sort and uniq require data entry or input from the standard input device ( stdin ) .
但是sort和uniq则需要从标准输入设备(stdin)请求数据输入。
-
Finally , sort and uniq in sequence ensure that repeated album names will be printed only once .
最后,按顺序的sort和uniq确保了重复的专辑名只打印一次。
-
Results : The modified CTAB method showed the highest yield , while the UniQ ion-exchange method showed the lowest yield of genomic DNA .
结果:三种方法制备基因组DNA纯度接近,但改进CTAB法产率最高,UniQ法产率最低。经典CTAB法和UniQ法提取基因组DNA易降解。
-
Both sort and uniq print outcomes to stdout .
sort和uniq都将输出打印到stdout。
-
If necessary , you can extend the pipeline shown above further and redirect the output of uniq to yet another utility .
如有需要,您可进一步扩展管道,将uniq的输出重定向到另外的实用工具。
-
To learn more about the extensive features of find , sort , and uniq , refer to each utility 's man page on your UNIX system .
要了解find、sort和uniq的更多扩展特性,请参阅您的UNIX系统中每种实用工具的man页。
-
Our sort was by collating sequence , so uniq gives us the " 10 apple " line instead of the " 1 apple " .
我们的排序是按照字符序列进行的,因此uniq显示的是“10apple”行,而不是“1apple”。
-
The uniq command normally operates on sorted files , and removes consecutive identical lines from any file , whether sorted or not .
uniq命令通常操作已排序的文件,并从文件(不管是否排序)中删除连续的相同行。
-
However , if the original list of Marx Brothers is sorted first ( reordering all occurrences of a name into a continuous run ), running uniq yields this result
但是,如果首先对MarxBrothers的初始列表进行排序(在连续运行中对多次出现的名称进行重排),运行uniq会生成以下结果
-
The Uniq () function is declared to take a range , so it will only be called once , even when invoked on a range of lines in the buffer .
Uniq()函数被声明为接受一个范围,因此只能调用一次,即使在缓冲区内的一个行范围上调用时。
-
Then , use awk to strip out the command name minus options and arguments , and pass the sorted list to uniq to give an enumerated list .
然后,使用awk删除命令名称减号选项和参数,然后将经过排序的列表传递给uniq以得到一个枚举列表。
-
Therefore , the output of the entire script is piped through sort , and then uniq to yield an alphabetized list of unique commands found in your $ PATH .
因此,整个脚本的输出通过sort、然后通过uniq进行管道传输,以产生在您的$PATH中找到的唯一命令的字母排序列表。
-
Methods : Genomic DNA was extracted by classical CTAB method , modified CTAB method with the use of lysozyme and UniQ ion-exchange method , the quality and quantity of genomic DNA were compared .
方法:用经典CTAB提取法、改进CTAB法(溶菌酶处理结合CTAB提取法)、UniQ柱吸附提取法制备苛求芽孢杆菌基因组DNA,比较产物完整性和用于PCR扩增的有效性。