home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sources.testers:34 comp.sources.d:1277
- Path: sparky!uunet!dtix!darwin.sura.net!gatech!rutgers!ub!netfs!dgbt!rick.dgbt.doc.ca!calvin.dgbt.doc.ca!csr
- From: csr@calvin.dgbt.doc.ca (Andrew Patrick as CSR Moderator)
- Newsgroups: comp.sources.testers,comp.sources.d
- Subject: CFR: "by" - indicate first and last line of group
- Message-ID: <1992Sep15.211753.20401@rick.dgbt.doc.ca>
- Date: 15 Sep 92 21:17:53 GMT
- Sender: news@rick.dgbt.doc.ca
- Followup-To: comp.sources.testers
- Organization: Communications Research Centre, Ottawa
- Lines: 75
- Nntp-Posting-Host: calvin.dgbt.doc.ca
-
- This is a Call for Reviewers for a new submission to the newsgroup
- "comp.sources.reviewed". Instructions for responding to this CFR are
- included at the end of this message.
-
- Submission Name: by
- Environment: Unix
- Number of shar parts: 1
-
- -----------
- Description
- -----------
-
- 'By' is a program primarily intended for preprocessing data for
- awk and perl. Processing data in groups means that you take
- some actions when encountering the first line of a group (like
- resetting counter), or the last line (like printing the sum of a
- variable for all the group).
- Using awk or perl usually means that you have to read ahead
- one record to see if the current line was the last in a group.
- Programming with read ahead is usually cumbersome and error-prone
- (e.g. you can't read ahead when reached the last line of the file,
- you must keep track of previous values for some processing, and
- current values for other...). 'By' preprocesses the data, doing
- all the necessary read ahead and indicates the boundaries, making
- the postprocessing possible reading just one record at the time, and
- 'by' indicates when this record is the first or last in the group.
-
-
-
- ---------------------------
- Instructions for Responding
- ---------------------------
-
- If you are interested in reviewing this submission, simply reply to
- this message via e-mail and complete the following information. Your
- message will be read by a script, so there are some instructions to
- follow:
-
- - please insert your information right after the colon and space in
- each relevant line (e.g., Name: John Doe).
- - if your software is in the habit of marking quoted lines with a
- character in the first column, please delete these before sending the
- message.
- - CSR defines a name in "dot" format as "surname.firstname" and uses
- it to keep track of reviewers. The following rules are applied when
- creating the name:
- - all characters are lower case
- - all special characters (dashes, accents, apostrophes, etc.)
- are removed
-
- INFORMATION TO PROVIDE:
- ----------------------
-
- 1 - Name:
- (in the form "surname.firstname"; see the rules above)
-
- 2 - Have you reviewed for CSR before (YES or NO):
-
- If your answer is NO, you should also complete the following
- information:
-
- 3 - Full Name:
- (in normal format "Firstname Surname", and no initials please)
-
- 4 - E-mail Address:
- (in the form "user@host.sub.domain (Firstname Surname)")
-
-
- The parts of the submission will then be mailed to you.
-
-
- --
- Andrew Patrick acting as Comp.Sources.Reviewed Moderator
- Department of Communications, Ottawa, CANADA
- csr@calvin.dgbt.doc.CA
-