Awk

From 탱이의 잡동사니
Revision as of 13:35, 25 July 2016 by Pchero (talk | contribs) (→‎-F)
Jump to navigation Jump to search

Overview

AWK 내용 정리

Options

-F

Delimiter 설정을 바꾼다. 기본값은 ' '(공백)이다. <source lang=bash> $ cat test.txt | awk -F':' '{print $1}' </source>