bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List out


From: Allodoxaphobia
Subject: Re: List out
Date: 14 Feb 2016 03:02:58 GMT
User-agent: slrn/1.0.2 (FreeBSD)

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

[Prev in Thread] Current Thread [Next in Thread]