Re: counting commas

2024-01-21 Thread Charlie Gibbs
On Sun Jan 21 10:12:00 2024 John Hasler wrote: > Roy J. Tellason writes: >> Where does that leave those of us that wrote c for CP/M? > I wrote: >> Or for MTS? > Gene writes: >> That, i've not heard of John, please expand. > > Michigan Terminal System. A multi-user OS running on the Amdahl > 470

Re: counting commas

2024-01-20 Thread gene heskett
On 1/20/24 19:28, John Hasler wrote: Roy J. Tellason writes: Where does that leave those of us that wrote c for CP/M? I wrote: Or for MTS? Gene writes: That, i've not heard of John, please expand. Michigan Terminal System. A multi-user OS running on the Amdahl 470V/6 at the University of

Re: counting commas

2024-01-20 Thread John Hasler
Roy J. Tellason writes: > Where does that leave those of us that wrote c for CP/M? I wrote: > Or for MTS? Gene writes: > That, i've not heard of John, please expand. Michigan Terminal System. A multi-user OS running on the Amdahl 470V/6 at the University of Michigan. -- John Hasler j...@sugarbi

Re: counting commas

2024-01-20 Thread gene heskett
On 1/20/24 19:02, John Hasler wrote: Roy J. Tellason writes: Where does that leave those of us that wrote c for CP/M? Or for MTS? That, i've not heard of John, please expand. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Pleas

Re: counting commas

2024-01-20 Thread John Hasler
Roy J. Tellason writes: > Where does that leave those of us that wrote c for CP/M? Or for MTS? -- John Hasler j...@sugarbit.com Elmwood, WI USA

Re: counting commas

2024-01-20 Thread gene heskett
On 1/20/24 15:40, Roy J. Tellason, Sr. wrote: On Friday 19 January 2024 09:48:01 pm Nicholas Geovanis wrote: On Fri, Jan 19, 2024, 2:07 PM Thomas Schmitt wrote: . (Ok, C causes scars on the programmer's self esteem. But what does not kill me makes me just stronger. I'm a vim user.)

Re: counting commas

2024-01-20 Thread Roy J. Tellason, Sr.
On Friday 19 January 2024 09:48:01 pm Nicholas Geovanis wrote: > On Fri, Jan 19, 2024, 2:07 PM Thomas Schmitt wrote: > > > . > > (Ok, C causes scars on the programmer's self esteem. But what does not > > kill me makes me just stronger. I'm a vim user.) > > > > OK I'll mention that to my psy

Re: counting commas

2024-01-20 Thread David Wright
On Sat 20 Jan 2024 at 17:09:58 (-), Curt wrote: > On 2024-01-19, David Wright wrote: > > On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: > >> Greg Wooledge wrote: > >> > >> > I won, and you lost > >> > >> There shouldn't be a comma in that sentence, in English. The

Re: counting commas

2024-01-20 Thread fxkl47BF
On Sat, 20 Jan 2024, Greg Wooledge wrote: > On Sat, Jan 20, 2024 at 05:09:58PM -, Curt wrote: >> On 2024-01-19, David Wright wrote: >>> On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: Greg Wooledge wrote: > I won, and you lost There shouldn't

Re: counting commas

2024-01-20 Thread Curt
> in a single line of text probably isn't able to take on this quest. I can see why parsing natural language may be difficult, but not why counting commas should be particularly difficult. > Any serious inquiries about natural language parsing should be directed > to an appropriate artifi

Re: counting commas

2024-01-20 Thread Greg Wooledge
On Sat, Jan 20, 2024 at 05:09:58PM -, Curt wrote: > On 2024-01-19, David Wright wrote: > > On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: > >> Greg Wooledge wrote: > >> > >> > I won, and you lost > >> > >> There shouldn't be a comma in that sentence, in English. T

Re: counting commas

2024-01-20 Thread Curt
On 2024-01-19, David Wright wrote: > On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: >> Greg Wooledge wrote: >> >> > I won, and you lost >> >> There shouldn't be a comma in that sentence, in English. There is in >> the closely related expression "I won, you lost." > >

Re: counting commas

2024-01-19 Thread gene heskett
On 1/19/24 21:48, Nicholas Geovanis wrote: On Fri, Jan 19, 2024, 2:07 PM Thomas Schmitt > wrote: . (Ok, C causes scars on the programmer's self esteem. But what does not kill me makes me just stronger. I'm a vim user.) OK I'll mention that to my psych

Re: counting commas

2024-01-19 Thread gene heskett
On 1/19/24 21:48, Nicholas Geovanis wrote: On Fri, Jan 19, 2024, 2:07 PM Thomas Schmitt > wrote: . (Ok, C causes scars on the programmer's self esteem. But what does not kill me makes me just stronger. I'm a vim user.) OK I'll mention that to my psych

Re: counting commas

2024-01-19 Thread Nicholas Geovanis
On Fri, Jan 19, 2024, 9:24 PM John Hasler wrote: > > Another SPITBOL user lives??!? :-) > > It's been decades since I used it. > > > It should all be open-source by now > > Is it? > > http://www.snobol4.com/ > > A search finds this: > Well thank you so much John. They are giving away for fre

Re: counting commas

2024-01-19 Thread Nicholas Geovanis
On Fri, Jan 19, 2024, 6:52 PM John Hasler wrote: > debian-u...@howorth.org.uk writes: > > The > > At the risk of being seen as old-fashioned, but as a user of both > > languages, I think Perl is a much better choice than C for string > > processing. > > Use SPITBOL. > Another SPITBOL user lives

Re: counting commas

2024-01-19 Thread Nicholas Geovanis
On Fri, Jan 19, 2024, 2:07 PM Thomas Schmitt wrote: > . (Ok, C causes scars on the programmer's self esteem. But what does not > kill me makes me just stronger. I'm a vim user.) > OK I'll mention that to my psychiatrist :-) But the C programmers I knew were either really nice guys if they w

Re: counting commas

2024-01-19 Thread Cindy Sue Causey
On 1/19/24, David Wright wrote: > On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: >> Greg Wooledge wrote: >> >> > I won, and you lost >> >> There shouldn't be a comma in that sentence, in English. There is in >> the closely related expression "I won, you lost." > > That'

Re: counting commas

2024-01-19 Thread Peter Hillier-Brook
On 19/01/2024 23:02, David Wright wrote: On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: Greg Wooledge wrote: I won, and you lost There shouldn't be a comma in that sentence, in English. There is in the closely related expression "I won, you lost." Anything other

Re: counting commas

2024-01-19 Thread David Wright
On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote: > Greg Wooledge wrote: > > > I won, and you lost > > There shouldn't be a comma in that sentence, in English. There is in > the closely related expression "I won, you lost." That's rather proscriptive. "I won and you lost

Re: counting commas

2024-01-19 Thread John Hasler
debian-u...@howorth.org.uk writes: > There shouldn't be a comma in that sentence, in English. There is in > the closely related expression "I won, you lost." The program has to be able to deal with bad writing. > At the risk of being seen as old-fashioned, but as a user of both > languages, I th

Re: counting commas

2024-01-19 Thread fxkl47BF
that use the fourth style above? Let's assume this. Let's then form > a template: > >STUFF, ASIDE, MORE STUFF, ASIDE, STILL MORE STUFF. > > I.e. given a sentence which conforms to expectation, we should see > an even number of commas (is *THIS* why you were cou

Re: counting commas

2024-01-19 Thread debian-user
Greg Wooledge wrote: > I won, and you lost There shouldn't be a comma in that sentence, in English. There is in the closely related expression "I won, you lost." > I really don't think I'd try this with shell scripts. The tools just > aren't designed for this. You really want tools that are c

Re: counting commas

2024-01-19 Thread Greg Wooledge
STUFF. I.e. given a sentence which conforms to expectation, we should see an even number of commas (is *THIS* why you were counting them??) and we should extract the ASIDEs from in between the first and second, then the third and fourth, and so on. So... uh, I guess my next question is: are yo

Re: counting commas

2024-01-19 Thread fxkl47BF
On Fri, 19 Jan 2024, Thomas Schmitt wrote: > Hi, > > Greg Wooledge wrote: >> unicorn:~$ string="apple,banana,cherry,date" >> unicorn:~$ commas=${string//[!,]/} >> unicorn:~$ echo "${#commas}" >> 3 > > Always astonishing what a good bashism can do. > > >> But at this point, we have to wonder what t

Re: counting commas

2024-01-19 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > unicorn:~$ string="apple,banana,cherry,date" > unicorn:~$ commas=${string//[!,]/} > unicorn:~$ echo "${#commas}" > 3 Always astonishing what a good bashism can do. > But at this point, we have to wonder what the *actual* goal is. Up to now we only know about the asto

Re: counting commas

2024-01-19 Thread Greg Wooledge
On Fri, Jan 19, 2024 at 09:25:14AM +0100, Thomas Schmitt wrote: > An answer to this question > > https://stackoverflow.com/questions/16679369/count-occurrences-of-a-char-in-a-string-using-bash > proposes > echo "referee" | tr -cd 'e' | wc -c > > $ echo ',,,' | tr -cd ',' | wc -c > 3 Th

Re: counting commas

2024-01-19 Thread Michael Grant
On Fri, Jan 19, 2024 at 09:25:14AM +0100, Thomas Schmitt wrote: > fxkl4...@protonmail.com wrote: > > why doesn't grep count 2 commas > > echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | > > grep -c , > > 1 Here's my way: $ echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ

Re: counting commas

2024-01-19 Thread Thomas Schmitt
explains it: -c, --count Suppress normal output; instead print a count of matching lines for each input file. With the -v, --invert-match option (see below), count non-matching lines. (-c is specified by POSIX.) Note that it counts lines, not characters. Counting characters by grep

Re: counting commas

2024-01-19 Thread tomas
On Fri, Jan 19, 2024 at 07:10:51AM +, fxkl4...@protonmail.com wrote: > why doesn't grep count 2 commas > > > echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | grep > -c , > 1 > > echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut > -d, -f1 >

Re: counting commas

2024-01-18 Thread John Crawley
On 19/01/2024 16:10, fxkl4...@protonmail.com wrote: why doesn't grep count 2 commas echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | grep -c , 1 echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut -d, -f1 Kích thước máy xay cỏ echo 'Kích thướ

counting commas

2024-01-18 Thread fxkl47BF
why doesn't grep count 2 commas echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | grep -c , 1 echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut -d, -f1 Kích thước máy xay cỏ echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu

Re: OT: Livesystem - grub is counting up

2023-09-25 Thread Max Nikulin
On 25/09/2023 18:01, Hans wrote: But today there is first a memeory counter "(XXX/528M)" counting up, then, when 528 is reached, the kali menu appears and I can boot as normal. At certain moment Ubuntu live images started to verify files on the media comparing their checksums. Earl

Re: OT: Livesystem - grub is counting up

2023-09-25 Thread Hans
Hi David, yes, some CMOS shows similar behaviour, but it looks like grub is making first some memeory free, then puts its code in it. First i thought, it might be, that the kernel needs space granted, but on the other hand, this appears not on 64-bit built livesystem. And both systems are bu

Re: OT: Livesystem - grub is counting up

2023-09-25 Thread David Wright
nged. In ealier times at boot the > kali menu started, then it boot. > > But today there is first a memeory counter "(XXX/528M)" counting up, then, > when > 528 is reached, the kali menu appears and I can boot as normal. > > So, question: Why is this so? What has cha

OT: Livesystem - grub is counting up

2023-09-25 Thread Hans
kali menu started, then it boot. But today there is first a memeory counter "(XXX/528M)" counting up, then, when 528 is reached, the kali menu appears and I can boot as normal. So, question: Why is this so? What has changed and can I avoid this somehow in the syslinux or grub men

Re: Epson printer page counting error

2022-06-16 Thread Brian
On Thu 16 Jun 2022 at 13:39:13 +0100, mick crane wrote: > On 2022-06-16 13:31, Brian wrote: > > > Believe it or believe it not, there are other rechniques to set up a > > print queue :). > > are these "rechniques" similar to the destructions ? That is an interesting concept to explore. Let us l

Re: Epson printer page counting error

2022-06-16 Thread mick crane
On 2022-06-16 13:31, Brian wrote: Believe it or believe it not, there are other rechniques to set up a print queue :). are these "rechniques" similar to the destructions ? mick

Re: Epson printer page counting error

2022-06-16 Thread Brian
On Wed 15 Jun 2022 at 13:45:14 -0700, Gary L. Roach wrote: > localhost:631 brings up a web page that lists most all manufacturers and > models. The process is the same for all cups print drivers. Using that is > what I meant as "as usual". I've never used anything else. I don't thing > anyone else

Re: Epson printer page counting error

2022-06-15 Thread Gary L. Roach
localhost:631 brings up a web page that lists most all manufacturers and models. The process is the same for all cups print drivers. Using that is what I meant as "as usual". I've never used anything else. I don't thing anyone else does either. Gary R. On 6/15/22 12:29 PM, Brian wrote: On We

Re: Epson printer page counting error

2022-06-15 Thread Brian
On Wed 15 Jun 2022 at 10:43:14 -0700, Gary L. Roach wrote: > Hi all, > > I just purchased an Epson ET-3850 tank printer. I set up the printer with > Cups as usual. What does "as usual" involve? -- Brian.

Epson printer page counting error

2022-06-15 Thread Gary L. Roach
Hi all, I just purchased an Epson ET-3850 tank printer. I set up the printer with Cups as usual. I often wish to print a few pages out of the middle of a document (eg 115-120). Now this worked fine with my old HP 5 in 1 printer. But when I tried this with the Epson the count seems to be offse

Debian 10: enable counting in faillog

2019-10-24 Thread e...@coderhacks.com
Hello! I try to enable faillog at Debian 10. Till now it is installed but does not count failed logins. As far I found out I need to adjust some pam-files in /etc to enable it. I read about pam_tally, pam_tally2, auth_common, system-auth, ... So I think they are more or less do all the same b

Re: Counting occurances of a word in a file.

2011-12-09 Thread Walter Hurry
On Fri, 09 Dec 2011 12:34:45 +0100, Jörg-Volker Peetz wrote: > Yes, you are right. My suggestion doesn't work if a word appears more > than once in a line since only lines which contain the word are counted. > Sorry for the confusion. PMFJI. Never mind; *I'm* glad you mentioned it anyway. I have

Re: Counting occurances of a word in a file.

2011-12-09 Thread Jörg-Volker Peetz
Yes, you are right. My suggestion doesn't work if a word appears more than once in a line since only lines which contain the word are counted. Sorry for the confusion. -- Best regards, Jörg-Volker. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe"

Re: Counting occurances of a word in a file.

2011-12-09 Thread afuentes
On Fri, 2011-12-09 at 09:15 +0100, Jörg-Volker Peetz wrote: > With a modern grep version it is even more simple: > > grep -c 'the' /path/to/file.txt i just tested with grep 2.9 and -c and -o does not get along well :) -c only is able to count lines within file and no the lines of output (gener

Re: Counting occurances of a word in a file.

2011-12-09 Thread Jörg-Volker Peetz
With a modern grep version it is even more simple: grep -c 'the' /path/to/file.txt I'm to lazy to look up when this feature was introduced. It works at least with grep version 2.9. -- Best regards, Jörg-Volker. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject

Re: Counting occurances of a word in a file.

2011-12-08 Thread Camaleón
On Thu, 08 Dec 2011 07:53:33 -0800, peasthope wrote: > What is a convenient tool for counting the occurances of a specific byte > sequence in a file? Count the occurances of "the" or %13%10"the " in a > text file for example. Quick and dirty sample: *** grep -o &q

Counting occurances of a word in a file.

2011-12-08 Thread peasthope
What is a convenient tool for counting the occurances of a specific byte sequence in a file? Count the occurances of "the" or %13%10"the " in a text file for example. Thanks,... Peter E. -- New telephone 1 360 639 0202. Old telephone 1 360 450 2132.

Kernel not counting trasmitted data

2010-05-29 Thread Raven
Hi all. At the office, we have a debian server to take care of routing & transparent proxy'ing. I recently installed vnstat to monitor the bandwidth usage (turns out some of the employees spent their day downloading with uTorrent, but that's another story..) and for the last week or so I noticed th

Re: counting incoming mail

2006-11-24 Thread Scott Lair
Scott Lair wrote: > Hello all, > > I am using Sarge with Exim4. I would like to get a count > of the number of emails coming into the mail server. > I would like to count emails that were not delivered also. > In other words, I would like to count any attempts at > sending an email to my host. >

Re: counting incoming mail

2006-11-19 Thread Stephen
On Sun, Nov 19, 2006 at 06:28:37AM -0800 or thereabouts, Daniel Nielsen wrote: > > > > Ron Johnson wrote: > > On 11/18/06 09:08, Scott Lair wrote: > >> Hello all, > >> > >> I am using Sarge with Exim4. I would like to get a count > >> of the number of emails coming into the mail server. > >>

Re: counting incoming mail

2006-11-19 Thread Daniel Nielsen
rMAaawrfHG+E/jXcxg6m+NVACg3KX0 > tTE6zqEF3AhYTK90gNjoKhM= > =RZji > -END PGP SIGNATURE- > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > -- View this message in

Re: counting incoming mail

2006-11-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/18/06 09:08, Scott Lair wrote: > Hello all, > > I am using Sarge with Exim4. I would like to get a count > of the number of emails coming into the mail server. > I would like to count emails that were not delivered also. > In other words, I wou

counting incoming mail

2006-11-18 Thread Scott Lair
Hello all, I am using Sarge with Exim4. I would like to get a count of the number of emails coming into the mail server. I would like to count emails that were not delivered also. In other words, I would like to count any attempts at sending an email to my host. Ideally, I could get the counts b

Re: counting bandwidth usage

2005-09-29 Thread Mark Fletcher
Almut Behrens wrote: On Thu, Sep 29, 2005 at 06:14:41PM -0400, kamaraju kusumanchi wrote: Very trivial question. I have two machines workA, homeB. Let's say I am sitting at workA and run an nxclient session to connect to homeB. Now in this homeB session, I open a konsole and download 1GB fi

Re: counting bandwidth usage

2005-09-29 Thread Almut Behrens
On Thu, Sep 29, 2005 at 06:14:41PM -0400, kamaraju kusumanchi wrote: > Very trivial question. I have two machines workA, homeB. Let's say I am > sitting at workA and run an nxclient session to connect to homeB. Now in > this homeB session, I open a konsole and download 1GB file (using wget). > W

counting bandwidth usage

2005-09-29 Thread kamaraju kusumanchi
Very trivial question. I have two machines workA, homeB. Let's say I am sitting at workA and run an nxclient session to connect to homeB. Now in this homeB session, I open a konsole and download 1GB file (using wget). Will this be counted as network traffic of 1GB on homeB or network traffic of

Re: counting traffic

1999-05-10 Thread Lawrence Walton
On Sun, May 09, 1999 at 08:20:16PM -0700, Vaidas wrote: Try mrtg. As an example www.debian.org/mrtg > Hello! > > Does somebody know the simple way to count traffic bytes in/out debian > server? > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > -- *--* Mail: [EMAIL

counting traffic

1999-05-09 Thread Vaidas
Hello! Does somebody know the simple way to count traffic bytes in/out debian server?

RE: Counting number of lines in a text file

1999-02-04 Thread Jon Burchmore
> > I always wonder why people insist on doing > > cat file | otherprogram > > instead of just > > otherprogram < file > > To qualify for the most useless use of cat award of course. Or does Randall > Schwartz (sp) no longer hand those out? But given the original context, "wc -l

Re: Counting number of lines in a text file

1999-02-04 Thread J.H.M. Dassen
On Thu, Feb 04, 1999 at 21:11:59 +0100, Miquel van Smoorenburg wrote: > I always wonder why people insist on doing > cat file | otherprogram > instead of just > otherprogram < file To qualify for the most useless use of cat award of course. Or does Randall Schwartz (sp) no longer hand

Re: Counting number of lines in a text file

1999-02-04 Thread Peter S Galbraith
> I always wonder why people insist on doing > > cat file | otherprogram > > instead of just > > otherprogram < file Don't know... > Which is exactly the same, but saves processing time. Even DOS people > do this, while DOS doesn't even multitask .. cat file | otherprogram > is th

Re: Counting number of lines in a text file

1999-02-04 Thread servis
*- On 4 Feb, Miquel van Smoorenburg wrote about "Re: Counting number of lines in a text file" > In article <[EMAIL PROTECTED]>, > Diego Delgado Lages <[EMAIL PROTECTED]> wrote: >> >>cat file-name | wc -l > > I always wonder why people insi

Re: Counting number of lines in a text file

1999-02-04 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Diego Delgado Lages <[EMAIL PROTECTED]> wrote: > >cat file-name | wc -l I always wonder why people insist on doing cat file | otherprogram instead of just otherprogram < file Which is exactly the same, but saves processing time. Even DOS people

Re: Counting number of lines in a text file

1999-02-03 Thread homega
Diego Delgado Lages dixit: > > cat file-name | wc -l just tried it and it works, but: $ wc -l file-name works as well -- Un saludo, Horacio [EMAIL PROTECTED] -- Quis custodiet ipsos custodet? --

Re: Counting number of lines in a text file

1999-02-03 Thread M.C. Vernon
> I was wondering what the quickest way to count the number of records > (lines) in a text file. It would be neat to do many files at once and save > the output in a seperate file in the format 'filename:::#records'. wc -l will do one file. Either write a shell script, or have a look at man wc

Re: Counting number of lines in a text file

1999-02-03 Thread Diego Delgado Lages
cat file-name | wc -l On Wed, 3 Feb 1999, Jay Barbee wrote: > Hey all, > > I was wondering what the quickest way to count the number of records > (lines) in a text file. It would be neat to do many files at once and save > the output in a seperate file in the format 'filename:::#records'. >

Re: Counting number of lines in a text file

1999-02-03 Thread Graham Ashton
On 3 Feb, Jay Barbee wrote: >>for a in file1 file2 file3; do \ >> echo -n $a >> seperate_file; \ >> echo -n ":::" >> seperate_file; \ >> wc -l $a >> seperate_file; \ >>done > > How would I gather a list of all TXT files in the directory before this and > pass each file to this script. replac

Re: Counting number of lines in a text file

1999-02-03 Thread Remco van de Meent
Jay Barbee wrote: > >> I was wondering what the quickest way to count the number of records > >> (lines) in a text file. It would be neat to do many files at once and > >> save the output in a seperate file in the format 'filename:::#records'. > > > >for a in file1 file2 file3; do \ > > echo -n $

Re: Counting number of lines in a text file

1999-02-03 Thread Jay Barbee
At 2/3/99 04:03 PM +0100, Remco van de Meent wrote: >Jay Barbee wrote: >> I was wondering what the quickest way to count the number of records >> (lines) in a text file. It would be neat to do many files at once and save >> the output in a seperate file in the format 'filename:::#records'. > >for

Re: Counting number of lines in a text file

1999-02-03 Thread Dale E. Martin
Jay Barbee <[EMAIL PROTECTED]> writes: > Hey all, > > I was wondering what the quickest way to count the number of records > (lines) in a text file. It would be neat to do many files at once and save > the output in a seperate file in the format 'filename:::#records'. wc -l Later, Dal

Re: Counting number of lines in a text file

1999-02-03 Thread Remco van de Meent
Jay Barbee wrote: > I was wondering what the quickest way to count the number of records > (lines) in a text file. It would be neat to do many files at once and save > the output in a seperate file in the format 'filename:::#records'. for a in file1 file2 file3; do \ echo -n $a >> seperate_file

Counting number of lines in a text file

1999-02-03 Thread Jay Barbee
Hey all, I was wondering what the quickest way to count the number of records (lines) in a text file. It would be neat to do many files at once and save the output in a seperate file in the format 'filename:::#records'. Thanks, --Jay

Page Counting (print accounting)

1998-07-15 Thread Jason Gunthorpe
Has anyone here setup a page accounting system for a print spool? What I am looking for some sort of software that will count the number of pages in postscript and pcl documents as they are spooled and then record it. I poked around but nothing seemed to leap out at me, jet I note that lprng has

Re: Looking for a counting (x)biff

1998-07-10 Thread Torsten Hilbrich
On: Thu, 9 Jul 1998 16:40:01 -0500 (CST) servis writes: > > Hi all, > I am looking for a biff type program that counts the number of new > messages in a file and continuously updates its display. I would > prefer a X based program. Does anything like this exist? I would > like to use this to k

Re: Looking for a counting (x)biff

1998-07-10 Thread servis
On Thu, Jul 09, 1998 at 04:40:01PM -0500, [EMAIL PROTECTED] wrote: > > Hi all, > > I am looking for a biff type program that counts the number of new > messages in a file and continuously updates its display. I would prefer > a X based program. Does anything like this exist? I would like to

Re: Looking for a counting (x)biff

1998-07-10 Thread Damon Muller
Greets, > I am looking for a biff type program that counts the number of new > messages in a file and continuously updates its display. I would prefer > a X based program. Does anything like this exist? I would like to > use this to keep track of all the mailing lists that I subscribe to and >

Re: Looking for a counting (x)biff

1998-07-10 Thread Dave Thayer
On Thu, Jul 09, 1998 at 04:40:01PM -0500, [EMAIL PROTECTED] wrote: > > Hi all, > > I am looking for a biff type program that counts the number of new > messages in a file and continuously updates its display. I would prefer > a X based program. Does anything like this exist? I would like to N

Looking for a counting (x)biff

1998-07-09 Thread servis
Hi all, I am looking for a biff type program that counts the number of new messages in a file and continuously updates its display. I would prefer a X based program. Does anything like this exist? I would like to use this to keep track of all the mailing lists that I subscribe to and are filter

Re: Page counting / Print quota

1998-06-26 Thread Jieyao
This is interesting, I didn't encounter it before. But it don't seem to work for my case. I have a printer connecter to my debian box and is shared via samba to my win95 boxes. I sent my print job from my win95 machines to the printer but there is no accounting data. Did I miss something? Have

Re: Page counting / Print quota

1998-06-26 Thread Chris
-BEGIN PGP SIGNED MESSAGE- On Fri, 26 Jun 1998, Ossama Othman wrote: > Hi > > Have you tried pac, the printer accounting utility? Do a "man pac" do get > some additional information. As far as I know, pac is part of the default > Debian installation. Here is an excerpt from the pac ma

Re: Page counting / Print quota

1998-06-26 Thread Ossama Othman
Hi Have you tried pac, the printer accounting utility? Do a "man pac" do get some additional information. As far as I know, pac is part of the default Debian installation. Here is an excerpt from the pac man page: --- NAME pac - printer/

Page counting / Print quota

1998-06-26 Thread Chris
-BEGIN PGP SIGNED MESSAGE- Hi, I was wondering if anyone out there has a print quota system running, and if they could give me some advice on how to set one up. Is there a package that can do this? Also, does anyone know how to count the number of pages in a print job. I can try and

Re: mgetty counting rings

1998-05-09 Thread Michael Beattie
On Sat, 9 May 1998, Bill Mitchell wrote: > > In New Zealand, the system is thus: > > > > One end : RING RING RING RING RING RING > > Other end: RING RING RING RING RING RING > > > > So that the same number of rings is not always heard at

Re: mgetty counting rings

1998-05-08 Thread Bill Mitchell
On Sat, 9 May 1998, Michael Beattie wrote: > On Thu, 7 May 1998, David Wright wrote: > > > On Thu, 7 May 1998, Remco van de Meent wrote: > > > > > Is there a way to have mgetty (or something else) counting the number of > > > RING's it receives

Re: mgetty counting rings

1998-05-08 Thread shaul
> Is there a way to have mgetty (or something else) counting the number of > RING's it receives on the modem line? I want it to write the results with a > timestamp in a logfile, if possible. > I think it is done by default (unless you have changed considerbly the config files)

RE: mgetty counting rings

1998-05-08 Thread Richardson,Anthony
AM To: David Wright Cc: Debian User List Subject: Re: mgetty counting rings On Thu, 7 May 1998, David Wright wrote: > On Thu, 7 May 1998, Remco van de Meent wrote: > > > Is there a way to have mgetty (or something else) counting the number of > > RING's it receives on the mo

Re: mgetty counting rings

1998-05-08 Thread Michael Beattie
On Thu, 7 May 1998, David Wright wrote: > On Thu, 7 May 1998, Remco van de Meent wrote: > > > Is there a way to have mgetty (or something else) counting the number of > > RING's it receives on the modem line? I want it to write the results with a > > timest

Re: mgetty counting rings

1998-05-08 Thread Frank Barknecht
David Wright hat gesagt: // David Wright wrote: > On Thu, 7 May 1998, Remco van de Meent wrote: > > > Is there a way to have mgetty (or something else) counting the number of > > RING's it receives on the modem line? I want it to write the results with a > > timest

Re: mgetty counting rings

1998-05-07 Thread Lee Bradshaw
On Thu, May 07, 1998 at 01:44:14PM +0100, David Wright wrote: > Or is it the precise number of rings that's important to you? > I'm not convinced that the number of rings I hear in the earpiece > precisely matches what's being "heard" and logged at the other end. You are correct. The number of rin

Re: mgetty counting rings

1998-05-07 Thread Thomas Lakofski
On Thu, 7 May 1998, Remco van de Meent wrote: > Is there a way to have mgetty (or something else) counting the number of > RING's it receives on the modem line? I want it to write the results with a > timestamp in a logfile, if possible. You could use xringd to run a comm

Re: mgetty counting rings

1998-05-07 Thread David Wright
On Thu, 7 May 1998, Remco van de Meent wrote: > Is there a way to have mgetty (or something else) counting the number of > RING's it receives on the modem line? I want it to write the results with a > timestamp in a logfile, if possible. Every ring of my phone is timestamped in /

mgetty counting rings

1998-05-07 Thread Remco van de Meent
Hey, Is there a way to have mgetty (or something else) counting the number of RING's it receives on the modem line? I want it to write the results with a timestamp in a logfile, if possible. Any hints on this subject? Thanks! -Remco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] w

Counting....

1998-02-13 Thread Chris
I appologise if this is off the topic, but I am trying to put together a method for printer accounting on our debian linux server. What I need at the moment is to find a way to count the number of pages in a postscript document. Does anyone know an easy way to do this (or better yet a program th