Home > Backend Development > PHP Tutorial > linux怎样算一列

linux怎样算一列

WBOY
Release: 2016-06-06 20:14:27
Original
885 people have browsed it

一个空格还是一个tab?

回复内容:

一个空格还是一个tab?

默认是tab,在cut命令里可以用-d选项显式指定分隔符。

比如:cut -f1 test.txt就是默认用tab切分文本文件,取出第一列。

如果是cut -d' ' -f1 test.txt则是把空格作为列的切分符。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template