shell-script-pt
[Top][All Lists]
Advanced

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

Re: [shell-script] Contar espaço em um arquivo.


From: hpfn
Subject: Re: [shell-script] Contar espaço em um arquivo.
Date: Tue, 8 Sep 2015 11:13:34 -0300

Olá, 


On 07 Sep 2015 14:38:33 -0700
"address@hidden [shell-script]" <address@hidden> wrote:

> Caros Boa Noite,
> 
> Tenho um arquivo com seguinte formato:
> 
> cat texto.txt 
> 
>  "123";"teste";"cachorro"
> "124";"teste"
> "125";"teste";"cachorro"
> "126";"teste"
> "127";"teste"
> "128";"teste";"cachorro"
>  
>

Vê se isso resolve;

cut -d";" -f3 teste.txt | grep -v . | wc -l


abraço,
-- 
Herbert Parentes Fortes Neto (hpfn)


reply via email to

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