TIPS/awk/passwdファイル

Last-modified: 2006-11-21 (火) 12:51:01

TIPS/awk

passwdファイルの項目1と5を抽出して表示

awk 'BEGIN{FS=":"} {printf("%s : %s\n",$1,$5);}'