Search Results

Search: Posts Made By: JavaHater
2,770
Posted By JavaHater
awk -vFS= -vj=0 '{ for(i=1;i<=NF;i++){ ...
awk -vFS= -vj=0 '{
for(i=1;i<=NF;i++){
j++;
if($i~/[cC]/){
print j
}
}
}' file
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy