Passion/bash

awk line count

sunshout 2013. 9. 9. 21:25

locale -a | awk '{print ++c}'


++c 를 하면 출력된 라인수를 표시한다.