On Sun, 14 Feb 2016 00:25:46 +0000 (UTC), Val Krem wrote:
> Hi all,
>
> I have a file (5000  rows and 65,000 columns). 
>
>
> 1. For each row I want find and count the number of missing variable 
> represented by (NA) and then print out.
>  
> Sample data
>
> 1. fgh1  1 1 2 1 NA 2 2    
>
> 2. fgh2    1 1 2 1  NA 2 NA
> 3. fgh3    1 1 2 1  1 2 2 
>
> 4. fgh4  NA NA NA NA NA Na
>
>
> Desired out put
> 1. fgh1    1 
>
> 2. fgh2  2 
> 3. fgh3    0 
> 4. fgh4  7
>
> Thank you in advance

err... uhhhh... What's your *bash bug* ???

Reply via email to