HDTenEightyP/NetNews huggingface dataset:
From: sm86+@andrew.cmu.edu (Stefan Monnier)
Newsgroups: comp.unix.questions,comp.unix.bsd
Subject: Re: SUMMARY: What Unix HW/SW I will buy with my $8000
Date: 29 Aug 92 17:03:00 GMT
Article-I.D.: andrew.sec1t4O00VolI4IElI
Distribution: comp
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.unix.questions: 29-Aug-92 SUMMARY: What Unix
HW/SW I.. Roger Gonzalez@msel.unh. (1477)


> I wanted to buy a Unix box for home, and posted asking what I should buy for
> $8000. 

> I received well over a zillion and a half responses to my query.
> "Buy a humpin' 486-50 PC and put Unix on it.." was 99% of the response.

> The other 1% said things like:

> - give up your desire for color and buy a monochrome NeXT
> - suffer with low disk/mem <really-low-end-sun/dec/iris> until you have
>   another $4000

> Looks like I will probably buy a
> - 50MHz 486DX2 EISA w/ SCSI, 8Mb, 340Mb, svga    ($3695)
> - replace their monitor with NEC 5fg             ($1000)
> - 1.2Gb disk                                     ($1200)
> - 2.3Gb tape                                     ($1200)
> - Dell Unix                                      ($1000)
>   for now.. may try Solaris or NeXTstep or BSDI eventually

> These are price guestimates.  If I have some left over, I'll save it up for a
> Postscript laser.  Seems like bang/buck, this is the way to go.

> Anyone have a similar setup?  I'd like to hear about your experiences..

> -Roger

> --
> artificial flowers        pieces of plastic and metal, crudely fashioned to 
>                           bear a limited, superficial resemblance to real
>                           flowers, but with no credible attempt to match their
>                           internal complexity in terms of form, function, or
>                           behavior

> artificial intelligence   really smart computers

> Roger Gonzalez   -  rg@msel.unh.edu
> Denning Mobile Robotics, Wilmington MA


Well, I would be on the side of the 1%: get a SUN or a NeXT !
If you really want Unix, then Sun is the solution !
Of course it is more expensive than PCs but has, I think, a much
nicer environment ! I was a PC Unix user a year ago (just a plain user)
and 'had to' go to SPARCs: they feel much more natural !
In clear, I feel as if PCs were not really adapted to run Unix !

But, this is not the main point. 
Why get a 1.2GB HD and a 2.3GB tape with only 8MB ram ?
Just remember that the actual standard with Unix boxes is 16MB !
(and with such a bid disk, you can afford 32MB, without any doubt)

	Stefan Monnier


-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
Newsgroups: comp.unix.questions
From: navarra@casbah.acns.nwu.edu (John Navarra)
Subject: Re: A question on ls
Organization: Northwestern University, Evanston Illinois.
Distribution: na
Date: Mon, 31 Aug 1992 05:32:40 GMT

In article <Yec2E4i00Vol44IFh7@andrew.cmu.edu> sm86+@andrew.cmu.edu (Stefan Monnier) writes:
>
>ls | grep -v '\.Z$'
>
>And with the ls-only version, you will have some problems if the considered 
>directory has subdirectories!
>
And, if you are not worried about subdirectories, you can try

$ find . -type f -a \! -name '*.Z' -print

which will be faster (but will list all non-.Z files in subdir below '.')

-tms

-- 
You can get further with a kind word | You can get further with a kind word
and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
          --al capone                |           -- John Navarra
=======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
Newsgroups: comp.unix.questions,comp.sys.hp
From: sp_pm@space.alcbel.be (Paul Moore)
Newsgroups: comp.unix.questions
Subject: Wanted: UNIX system/network programming book recommendation
Date: 4 Sep 92 16:57:03 GMT
Article-I.D.: space.9209041257.AA08149
X-Received: by usenet.pa.dec.com; id AA16184; Fri, 4 Sep 92 10:49:48 -0700
X-Received: by inet-gw-1.pa.dec.com; id AA02305; Fri, 4 Sep 92 10:49:46 -0700
X-Received: from ub4b.buug.be by mcsun.EU.net with SMTPid AA28231 (5.65b/CWI-2.174); Fri, 4 Sep 1992 19:49:30 +0200
X-Received: from alcbel.UUCP by ub4b.buug.be (5.65c/ub4b_02)id AA11878; Fri, 4 Sep 1992 19:49:27 +0200
X-Received: from se.alcbel.be by alcbel.be (4.1/SMI-4.1)id AA06300; Fri, 4 Sep 92 14:54:07 +0200
X-Received: by se.alcbel.be (5.57/SE_03)id AA18228; Fri, 4 Sep 92 14:57:41 +0200
X-Received: from btmpjw.space by space.alcbel.be (4.1/SMI-4.0)id AA08149; Fri, 4 Sep 92 14:57:03 +0200
X-To: comp.unix.questions.usenet


Hello,


I'm looking for books that deal with UNIX network and system programming.

A book that has been recommended to me is:

    UNIX Network Programming, by W. Richard Stevens

Are there any other books available in this field?


I've heard that Stevens has another book available, just recently published:

    Advanced UNIX SYstem Programming

or some such similar title. Has anyone seen this book, or offer any comments?


Please email responses, as I don't have a News connection. As usual, I'll summarise responses if there is sufficient interest.


Thanks in advance for any replies,

- Paul

-------------------------------------------------------------------------------
email: sp_pm@space.alcbel.be       smail: Paul Moore
                                          Alcatel Bell Telephone,
phone: (+32) 3/829.5024                   Space Dept.,
                                          Berkenrodelei 33,
                                          2660 Hoboken,
                                          Belgium.
Newsgroups: comp.unix.questions
From: technews@iitmax.iit.edu (Kevin Kadow)
Subject: Re: mail help: how to reject mail?
Organization: Technology News, IIT, Chicago, IL
Distribution: usa
Date: Sat, 29 Aug 92 07:19:32 GMT

In article <1992Aug27.152847.23723@eng.ufl.edu> zzang@whale.uucp (Zhuo Zang) writes:
)Hello,
)this may look like a strange question.
)someone distributes mails to our Dept
)on a weekly base . but not neccessarily
)everyone in this Dept need that info,
)is it possible to reject this kind of
)mail on personal preference?
)
)Thanks in advance !
)
)-zhuo
)

The "filter" utility, which appears to be part of the Elm mailreader (at
least on this machine) files, can take several actions based on the
sender, subject line, addressee, and length, BEFORE the message is
placed in the recipients mailbox.

If you have FILTER available, "man filter" should give you more info.

You need to have a line similar to the following in your .forward file
in your home directory:

|/usr/bin/filter

For filter to handle your incoming mail, you need to create a file,
called .filter_rules, which contains if-then statements to determine
what is done with the messages.

-- 
Xref: sparky comp.unix.questions:10522 comp.unix.bsd:4844
From: bzs@ussr.std.com (Barry Shein)
Newsgroups: comp.unix.questions,comp.unix.bsd
Subject: Re: SUMMARY:  What Unix HW/SW I will buy with my $8000
Date: 30 Aug 92 01:26:27 GMT
Distribution: comp
Organization: The World


From: rg@msel.unh.edu (Roger Gonzalez)
>- 1.2Gb disk                                     ($1200)
>- 2.3Gb tape                                     ($1200)

Um, what are the sources for these two items at these prices? Seem a
little low, I see closer to $2K each (well, $1750-ish.)

Also, while I'm asking...

>- 50MHz 486DX2 EISA w/ SCSI, 8Mb, 340Mb, svga    ($3695)

This may well be a very good price (it looks good to me), but my
understanding of a 50MHZ 486DX2 is that it is a clock-doubled 25MHZ
486, but the I/O bus still runs at 25MHZ. Overall wouldn't one be
better off (for Unix) with a 33MHZ 486DX? Or are they more expensive?

Perhaps it doesn't matter much when you put it all together, I'm
really just asking, x86's aren't my strong card (so to speak.)

--
        -Barry Shein

Software Tool & Die    | bzs@world.std.com          | uunet!world!bzs
Purveyors to the Trade | Voice: 617-739-0202        | Login: 617-739-WRLD
From: fau@phantom.UUCP (Frederick W. Au)
Newsgroups: comp.unix.questions
Subject: time server?
Date: 4 Sep 92 18:12:32 GMT


I am looking for a time-server like thing to synchronize (more or
less) the clocks on machines spred over a number of subnets.  do you
know of any host (like *.mil, or uunet) or any hardware (like having a
dedicated clock connected to one of the servers) that would do
something like that.  Any hints would be appreciated.  Please respond
by email and i will summarize later...


				Fred Au
				...!uunet!csfb1!phantom!fau

Newsgroups: comp.unix.questions
From: erc@unislc.uucp (Ed Carp)
Subject: Where can I find 802.3 specs?
X-Newsreader: Tin 1.1 PL5
Organization: Unisys Corporation SLC
Date: Tue, 25 Aug 1992 23:55:54 GMT

Subject line says it all.  I've looked on uunet, and used archie... :(
-- 
Ed Carp, N7EKG     erc@apple.com                801/538-0177
"This is the final task I will ever give you, and it  goes  on  forever.   Act
happy, feel happy, be happy, without a reason in the world. Then you can love,
and do what you will."           -- Dan Millman, "Way Of The Peaceful Warrior"
Newsgroups: comp.unix.questions
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: need script to rename uppercase filenames
Keywords: script,tar,msdos
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Fri, 4 Sep 1992 06:46:13 GMT

In article <699@svcs1.UUCP>, slix@svcs1.UUCP (Bill Miller) writes:
|> Hi, everyone.
|> 
|> I'm fairly new to unix, and I need a script or procedure to do the following:
|>  
|> I have some source code in DOS (many separate files) that I tarred under
|> DOS and untarred under 386BSD.  The big problem is that all the files
|> came through in UPPERCASE and I need a script to mv (rename) them all
|> to lowercase quickly.
|>  
|> Since they're in DOS text format, I realize I also need to strip the 
|> extra carriage returns on each line.  I've been successful in doing this
|> with:
|>  
|>   cat (file) | tr -d '\015' > (newfile)
|>  
|> It would be nice to combine both of these so that I could rename the
|> files to uppercase and strip the extra newlines all in one fell swoop
|> instead of doing it one file at a time.
|> 

A little plug for tcsh:

foreach fn ([A-Z]*)
    tr -d '\015' <$fn >$fn:al
end

Of course the original file name specification is a little simplistic.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.questions
From: martin@datacomm.ucc.okstate.edu (Martin McCormick)
Subject: Re: Postscript files
Keywords: Hack!
Organization: Oklahoma State University, Stillwater, OK
Date: Sun, 30 Aug 1992 20:59:22 GMT


What the world really needs is a list of Postscript grammar and syntax rules
in electronic form.  Postscript is like a cure for which there is no known
disease.  While graphics terminals are useful and greatly expand the
capabilities of computing systems, they introduce more compatibility
problems for everybody else.  There are many reasons why one might want
to have a text-only display.  It would, in the first place, make any 
Postscript file readible on any standard terminal.  It would also mean that
the ASCII file would not take any more bandwidth than necessary on networks
for which that is a consideration.  Postscript without a reverse conversion
is a job only half done, sort of like creating atomic waste without knowing
what to do with it, later.  I also need a de-postscripting filter and am
willing to start working on one if I can ever find a discription of the
rules so that I can have a good idea of what I am trying to do before I
start trying to do it.  It should be possible to preserve all formatting
except where it might create lines that were longer than could fit on the
terminal screen or printer's paper.
	Everything said, here, about Postscript is also true about any other
incompatible formats for text files which are floating around.  There should
be a conversion to ASCII text which preserves as much of the appearence
of the file as is possible.

Martin McCormick WB5AGZ   Stillwater, OK
O.S.U. Computer Center Data Communications Group
From: william@syma.sussex.ac.uk (William Craven)
Newsgroups: comp.unix.questions
Subject: Using C macros in Makefiles
Keywords: C Macros Make Makefiles
Date: 24 Aug 92 13:20:28 GMT
Organization: University of Sussex

The Makefile below creates two programs  server  and  client  - and they
both share common C source codes. However the common C source codes now have
preCompiler defines which are based on whether the code being compiled is
for the  server  or for the  client. How can I set up a macro such that
make will provide the correct define flag for the C compiler ?  At present
the defines are passed only at loading phase not during compilation.
Will I have to rewrite the suffix macro for .o.c ?

Ideas most appreciated and I will summarise if anybody has solutions.

Many Thanks .......

William Craven				william@central.sussex.ac.uk
UNIX Systems, Computing Service      or william@syma.sussex.ac.uk
University of Sussex
Brighton, UK


#
# Makefile for rsvcRPC system
#

RSVCSRC = rsvc_common.c rsvc_xdr.c
RSVCOBJ = rsvc_common.o rsvc_xdr.o
RSVCINC = rsvc.h

SRVRSRC = rsvc_server.c ${RSVCSRC}
SRVROBJ = rsvc_server.o ${RSVCOBJ}
SRVRINC = ${RSVCINC}
SRVRFLG = -DrsvcSERVER

CLNTSRC = rsvc_client.c ${RSVCSRC}
CLNTOBJ = rsvc_client.o ${RSVCOBJ}
CLNTINC = ${RSVCINC}
CLNTFLG = -DrsvcCLIENT

CC = cc
CFLAGS =

all:	server client

server: ${SRVROBJ}
	${CC} ${CFLAGS} ${SRVRFLG} -o server ${SRVROBJ}

${SRVROBJ}: ${SRVRSRC} ${SRVRINC}

client: ${CLNTOBJ}
	${CC} ${CFLAGS} ${CLNTFLG} -o client ${CLNTOBJ}

${CLNTOBJ}: ${CLNTSRC} ${CLNTINC}

clean:
	rm -f *.o server &&& reUs
From: jbowyer%ovc.vutbr.cs%CSBRMU11.BITNET@aearn.edvz.uni-linz.ac.at (Jeff Bowyer)
Newsgroups: comp.unix.questions
Subject: elm save file
Date: 2 Sep 92 09:06:19 GMT
Article-I.D.: adm.32317

Gordon:

When I set the following variables in elmrc

     savemail = $HOME/axe    # for example
     savename = ON

then enter the 's' command, elm displays the login name of the
current mail message, not the savemail directory, as I had hoped.

==========================================================================
 Jeff Bowyer                         EMail:
 Technical University of Brno        jbowyer%ovc.vutbr.cs@csbrmu11.bitnet
 Udolni 19, 602 00 BRNO
 Czechoslovakia
==========================================================================
Newsgroups: comp.unix.questions
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Awk: Beginner needs help!
Keywords: awk unix
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Distribution: comp.unix.questions
Date: Fri, 4 Sep 1992 07:32:13 GMT

In article <5608@ucsbcsl.ucsb.edu>, 
6500scv1@ucsbuxa.ucsb.edu (Steven C. Velasco) writes:
|> 
|> HI,
|> I am new to unix, and really new to awk, so hopefully somebody can
|> answer this question real easily.  I have hundreds of SAS program
|> files written for MVS, that we now need to run on UNIX.  
|> The files from MVS look like this :
|> 
|> COMMAND? list unnumbered
|> //MVS JCL statements
|> //MVS JCL statements
|> //MVS JCL statements
|> DATA _NULL_ ;
|>    SET SASLIB.DATASET ;
|> MORE SAS STATEMENTS
|> RUN ;
|> 
|> I can get awk to print out the lines that don't contain the string  "//"
|> or "COMMAND?" in $1, but I would like to have
|> something that replaces the entire line  "COMMAND? list unnumbered"
|> (this is always the first line, and occurs just once) 
|> with the string: "libname saslib /usr2/username/datasets"  or, to 
|> somehow put the "libname" string in the first line of each file.
|> So the resulting file would look like this:
|> 
|> libname saslib '/usr2/username/datasets' ;
|> DATA _NULL_ ;
|>    SET SASLIB.DATASET ;
|> MORE SAS STATEMENTS ;
|> RUN ;
|> 
|> below is my feeble attempt to do this.  When I run this program, I
|> get a message saying something like 'awk: cant set $0 at record 1':
|> 
|> $1 !~ /\/\// { if ( $0 ~ /COMMAND? list unnumbered/ ) 
|> $0 = "libname saslib /usr2/username/datasets ;" 
|> print >FILENAME }  
|> 
|> What am I doing wrong?  I would appreciate any help or suggestions.

I would solve this in this way:

#!/usr/bin/awk
BEGIN { print "libname saslib /usr2/username/datasets ;" }

/^\/\// { next }
/^COMMAND?/ { next }
{ print }

The first line is only useful if you system supports this. I would also
guess that the COMMAND? line could be used for something useful but I
don't know anything about SAS other than that it is Sweden's
international airline ;^)

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
From: kyle@wendy-fate.UU.NET (Kyle Jones)
Newsgroups: comp.unix.questions
Subject: Re: SUMMARY:  What Unix HW/SW I will buy with my $8000
Date: 2 Sep 1992 13:34:09 -0400
Organization: UUNET Communications
NNTP-Posting-Host: wendy-fate.uu.net

grog@adagio.UUCP (Greg Lehey) writes:
 > In article <RG.92Aug29154123@nymph.msel.unh.edu> rg@msel.unh.edu (Roger Gonzalez) writes:
 > >[...]
 > >- Dell Unix                                      ($1000)
 > 
 > 8 MB should be considered an absolute minimum. You wouldn't get
 > anything like good performance out of the machine with that little
 > memory. Upgrading to 16 MB usually means throwing out the 8 MB of 1 MB
 > SIMMs and replacing them with 4 x 4 MB SIMMs.

Is Dell UNIX such a pig that 8 MB isn't enough memory for it?
Good grief.
From: johnboyd@ocdis01.oc.aflc.af.mil (John Boyd;LAHDI;)
Newsgroups: comp.unix.questions
Subject: Help on Zen Internet Guide
Date: 3 Sep 92 15:11:01 GMT

Does anyone know where I can get a plaintext version of the subject text? I
don't have access to a postscript printer or TeX.  Thanx for the help..
Newsgroups: comp.unix.questions
From: pfcouvar@amhux1.amherst.edu (Peter Couvares)
Subject: stripping the kernel
Organization: Amherst College
Distribution: na
Date: Fri, 28 Aug 1992 22:00:38 GMT

	I need some more room on my root partition, and for the time being I
can't give it more disk space. I did, however, notice that the two kernels I
have there are unstripped. As far as I know, stripping an executable is
harmless, but before doing it to my kernel, I wanted to make double-sure :)

... So: Is it completely okay to strip my kernel (assuming I don't plan to
do any debugging)?

Thanks,

-Peter Couvares

pfcouvar@amhux1.amherst.edu
From: matsuda@linc.cis.upenn.edu (N o s t a l g i a)
Newsgroups: comp.unix.questions
Subject: A Novice^2 nawk question
Keywords: nawk, iteration
Date: 29 Aug 92 16:36:32 GMT
Organization: University of Pennsylvania


Hi,


Here's a novice^2 question on awk.  I wrote the following awk program that
tries to find a root of a number (don't ask me why -- it's a part of my process
of learning awk!).  Silly as it is, the program takes two arguments, the
number, and the number of root, and if you enter 4 2, it will give 2
(sqrt(4)=2, ignoring the negative one!) plus the computed original number (how
could I call this in English anyway?).

The algorism I followed was to start with one, and adding one until $1^(that
number) exceeds the number whose root is being searched. At that point, 0.1
will be added to (that number-1), until it will exceed the number whose root is
being searched. Pretty stupid, but works fine -- except for two things: If the
program goes to the very bottom (and print out "last"), then the program won't
read the next record, and I will have to runt he program again. How this is so?
I gather this has something to do with "getting away" from the loop, but I
cannot put my finger on what. 

Second, if I enter numbers like 40 500 (yes, 500th-root of 40!), they will give
an error message saying "nawk: pow result out of range". How is this so?  Is
there anyway to evade this problem?

Third, is there any better algorism to do the same thing without invoking the
build-in functions?

Thank you very much,


Kenjiro Matsuda
Dept. of Linguistics
University of Pennsylvania
matsuda@linc.cis.upenn.edu
From: "scott williams" <scott.williams@canrem.com>
Newsgroups: comp.unix.questions
Subject: a question on ls
Date: 3 Sep 92 12:50:42 EST
Reply-To: "scott williams" <scott.williams@canrem.com>
Distribution: comp
Organization: Canada Remote Systems


In article <6786#tekig7.PEN.TEK.COM> naren@tekig5.pen.tek.com (Naren Bala)
writes:

| >What command would I type to display all files that do not have a .Z
| >extension ?

In sh, my preference would be to combine ls with grep, as in:
 
   ls | grep -v '\.Z$'
---
  DeLuxe 1.12 #8626  Scott Williams, Editor, Open Systems Letter
--
Canada Remote Systems  - Toronto, Ontario/Detroit, MI
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.unix.questions
From: mugsy@winton.uucp (Michael G. Bruce)
Subject: Technical dictionary
Organization: Worcester Polytechnic Institute, MA
Date: Wed, 2 Sep 1992 13:54:55 GMT

Does anyone know of a quality CS dictionary?  While I have a working knowledge
of terms such as MIPS, FLOPS, IPC, etc,  I have occasion to need a proper,
concise definition.

Thanx.


-- 
+ Michael G. Bruce|___                   *  "Let your light shine before men" |
| mugsy@winton.wpi.edu|__________       | |  ---***---***---***---***---***-  +
+ Worcester Polytechnic Institute|____  | | 'Better to light one candle, than |
| If only I could express my opinions...|_|    to curse the darkness'         +
Newsgroups: comp.unix.questions
From: brandy@tramp.Colorado.EDU (BRANDAUER CARL M)
Subject: Re: how come : ! out of vi always uses sh instead of $SHELL ???
Organization: University of Colorado, Boulder
Date: Thu, 27 Aug 1992 03:05:05 GMT

fish@daacdev1.stx.com writes:

>whenever i :! out of vi it uses /bin/sh instead of $SHELL
>so all of my aliases are lost, etc and makes it very limited

Vi uses the variable 'shell' which must be set explicitly in either
your EXINIT variable or in .exrc.  You can verify your efforts with

	:set shell

after starting vi again.

NOTE: Some versions of vi, including the one I am using now, let the
user modify the variable with

	:set shell=whatever

As always, no spaces around the =.

Good luck and cheers - Carl
Newsgroups: comp.unix.questions
From: frank@D012S436.sniap.mchp.sni.de ()
Subject: Re: More fun with awk! (not associative arrays, I promise. ;-)
Organization: Siemens-Nixdorf AG
Date: Wed, 26 Aug 92 14:37:12 GMT

navarra@casbah.acns.nwu.edu (John Navarra) writes:
: Well, here is my newest awk problem I haven't figured out.
: I have the following text that I want to play with:
: 
: ...
: [2]      Canada         North America
: [3]      China          Asia
: [4]      Argentina      South America
: ...
: [6]      United States  North America
: [7]      Scotland       Europe
: [8]      Australia      Australia
: [9]      Chad           Africa
: [10]     Brazil         South America
: 
: This is generated from a program I wrote to extract the blocks of
: text between two patterns (in this case, between North and South).
: The numbers to the left are the line numbers in the file. If text
: is skipped, I print out a '...'. 
: 
: What I would like to do now, is write a simple awk filter to grab the
: first and last block of text (where blocks are separated by a "...".)
: In this case, the first block of text is lines 2-4 and the last is
: lines 6-10. The book I have describes multi-line records in awk
: but this does not do what I want. I seem to need a multi-line field.
: If I could set the FS to "..." and print $1, $2 .. $NF this would be
: great. Unfortunately, I don't think this is the case. 
: 
: From what I read, the normal way to handle multi-line records is to
: set FS="\n" and RS="...". Then $1 is line [2], $2 is line [3] etc.
: However, there are a variable number of lines in the block and

You could print $1..$NF in a loop...

e.g. for(i=1; i<=NF;i++)
	print $i

--
Frank O'Dwyer		       			Disclaimer: 
Siemens-Nixdorf AG 	                        I will deny everything
Tel.  : +49 (89) 636-40639                      Fax.  : +49 (89) 636-45860
e-mail: Frank.ODwyer@sniap.mchp.sni.de