FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-23-2010, 08:28 PM
roberto
 
Default occorrenze stringa

ciao a tutti
c'e' qualche utility che permette di contare quante volte una parola
si ripete in un file di testo ?

grazie !
--
roberto


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-24-2010, 10:48 AM
Eduardo M KALINOWSKI
 
Default occorrenze stringa

On 01/23/2010 07:28 PM, roberto wrote:

ciao a tutti
c'e' qualche utility che permette di contare quante volte una parola
si ripete in un file di testo ?




[How to count words in a text file?]

Una possibilità è

tr ' ' '
' < FILE | sort | uniq -c

In questa lista si parla inglese, però c'è una lista in italiano:
http://lists.debian.org/debian-italian/



--
I can give you my word, but I know what it's worth and you don't.
-- Nero Wolfe, "Over My Dead Body"

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 07:53 PM
PaulNM
 
Default occorrenze stringa

Eduardo M KALINOWSKI wrote:


[How to count words in a text file?]



wc -w


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org