Write awk command to count the number of times each word occurs in a sorted list containning one worJan 8, 2018Updated: Mar 18, 2021awk -F"|" '{kount[$3]++} END { for( design in kount) print design,kount[design] }' emp.lst Note: emp.lst is file name employee details
awk -F"|" '{kount[$3]++} END { for( design in kount) print design,kount[design] }' emp.lst Note: emp.lst is file name employee details
Comentarios