Re: Count words/characters in ps or pdf

2011-10-15 Thread Elias Diem
Hi Curt On Fri, Oct 14, 2011 at 03:31:52PM +, Curt wrote: > On 2011-10-14, Kumar Appaiah wrote: > > > > How about: > > pdftotext |wc -w > > curty@einstein:~/glimmer$ pdftotext doctorswife.pdf | wc -w > 0 > > Oops. > > curty@einstein:~/glimmer$ pdftotext doctorswife.pdf - | wc -w > 1415 >

Re: Count words/characters in ps or pdf

2011-10-14 Thread Curt
On 2011-10-14, Kumar Appaiah wrote: > > How about: > pdftotext |wc -w curty@einstein:~/glimmer$ pdftotext doctorswife.pdf | wc -w 0 Oops. curty@einstein:~/glimmer$ pdftotext doctorswife.pdf - | wc -w 1415 I think you need the stdout hyphen; otherwise, with the file name argument missing, it ju

Re: Count words/characters in ps or pdf

2011-10-14 Thread Elias Diem
On Fri, Oct 14, 2011 at 01:33:35PM +, Camaleón wrote: > On Fri, 14 Oct 2011 14:55:59 +0200, li...@webconect.ch wrote: > > > Hi all > > Hi, remember to disable html formatting options when posting ;-) Indeed. Sorry for that. > > I'm looking for a program to easily count words and characters

Re: Count words/characters in ps or pdf

2011-10-14 Thread Brian
On Fri 14 Oct 2011 at 14:55:59 +0200, li...@webconect.ch wrote: > I'm looking for a program to easily count words and characters (with > and without spaces) in ps or pdf documents. Convert pdf to text. Use wc on the txt file. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org wi

Re: Count words/characters in ps or pdf

2011-10-14 Thread Camaleón
On Fri, 14 Oct 2011 14:55:59 +0200, li...@webconect.ch wrote: > Hi all Hi, remember to disable html formatting options when posting ;-)   > I'm looking for a program to easily count words and characters (with and > without spaces) in ps or pdf documents. >   > Any suggestions? If the file is edi

Re: Count words/characters in ps or pdf

2011-10-14 Thread Kumar Appaiah
On Fri, Oct 14, 2011 at 02:55:59PM +0200, li...@webconect.ch wrote: >Hi all > >  > >I'm looking for a program to easily count words and characters (with > >and without spaces) in ps or pdf documents. > >  > >Any suggestions? How about: pdftotext |wc -w Kumar -- Save