awk以‘\t’为分隔符区分列
cat logs | grep IconsendRedirect | grep 1752 | awk -F‘\t‘ ‘{print $8}‘| wc -l
cat hello.txt | awk ‘!a[$0]++‘ | wc -l
时间: 2024-10-12 21:48:18
awk以‘\t’为分隔符区分列
cat logs | grep IconsendRedirect | grep 1752 | awk -F‘\t‘ ‘{print $8}‘| wc -l
cat hello.txt | awk ‘!a[$0]++‘ | wc -l