HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.unix.questions
Subject: 'sudo' making it work
From: mccalld@vax.sonoma.edu
Date: 14 Sep 92 10:05:43 -0800
Organization: Sonoma State University

Greetings:
    I'm a greenie when it comes to doing UNIX programming etc, and I am
trying to get 'sudo' working.....I run the make and get LOG_LOCAL2
undefined errors.....I'm really lost at what to do at this point.....
thanks ahead of time.
mccalld@sonoma.edu
From: John_A._Brewer.wbst218LL@xerox.com
Newsgroups: comp.unix.questions
Subject: Re: Doing FTP in background ...
Date: 11 Sep 92 11:50:07 GMT

Humberto,
Could you please send a example of ftp.command file!

Thanks
John Brewer
8*21289
Newsgroups: comp.unix.questions,comp.unix.wizards
From: zeno@hardy.u.washington.edu (Sean T. Lamont)
Subject: Problems with NFS timeout
Organization: Abstract Software
Date: Wed, 16 Sep 1992 01:17:47 GMT

I've written my own nfs server, and it works for all practical
purposes.  My one major problem is that for files over about >150K it
has some odd behavior.  on some calls to "write" using a "soft" mount,
it hangs the system completely until the rpc call times out.  For a
"hard" mount it tries to write and never comes back, and I end up 
cold-restarting.  

I think this has something to do with timing in the "write" procedure,
because when I comment out the part of "write" that actually does
transfer to disk and internal cache buffers, it of course doesn't
write any data, but the above problems with timeouts go away.

If anybody has any ideas I'd appreciate it.  Please respond to 

Sean_Lamont@abstractsoft.com, as I don't usually read this newsgroup.






-- 
Sean T. Lamont                           |   "Don't oppress me, It's
Abstract Software                        |   'Computer of color! "
zeno@abstractsoft.com                    |   NeXTMail welcomed.
----------------"My employers opinions are my own, not yours."-----------------
Newsgroups: comp.unix.questions
From: mgflax@phoenix.Princeton.EDU (Marshall G. Flax)
Subject: Re: FAQ
Organization: Princeton University
Date: Mon, 7 Sep 1992 22:24:40 GMT

In article <dcK002UL1f8p01@JUTS.ccc.amdahl.com> jjh00@OUTS.ccc.amdahl.com (Joel J. Hanes) writes:
>Me too, please.  I've scanned the group every day for
>nine weeks; where is the FAQ?

1. "Metoo" requests are more appropriately asked as e-mail rather than
news postings.  Think about that until it makes sense.

2. The FAQ is available by FTP from:
	pit-manager.mit.edu:/pub/usenet/news.answers/unix-faq/part*

   (Those w/o FTP may send a message containing the word "help" to
	mail-server@pit-manager.mit.edu )


marshall
-- 
============ 40 Linden Lane, Princeton, NJ 08540, 609-921-0962 ============
=========== 5 Joyce Lane, Woodbury, NY 11797, 516-364-9331,9379  ==========
===== c/o Jack Gelfand,Psych Dept,Princeton U.,NJ 08544,609-258-2930  =====
= Original material(c) 1992, Marshall Flax <mgflax@phoenix.Princeton.EDU> =
From: sasmob@chewy.unx.sas.com (Mark C. Burhans)
Newsgroups: comp.unix.questions
Subject: Re: I want a program that prints out base gid's of any user
Date: 8 Sep 92 21:08:35 GMT
Organization: SAS Institute Inc.
Originator: sasmob@chewy.unx.sas.com


In article <1992Aug25.134646.9039@news.eng.convex.com>, Tom Christiansen <tchrist@convex.COM> writes:
|> From the keyboard of bzg52408@uxa.cso.uiuc.edu (Benjamin Z. Goldsteen):
|> :   I have been trying to write a program that prints out the
|> :base gid of a user (given on the command line).  I have tried
|> :using awk and perl, but I can not get anything decent.
|> :Can show me how to do this.  One thing I have tried
|> :[ gid username ]
|> :#! /usr/bin/awk -f
|> :BEGIN { FS=":"; FILENAME="/etc/passwd" }
|> :ARGV[1] == $1 {print $4}
|> :
|> :I am not sure if 1 if right for ARGV, but whatever...anyway, it 
|> :won't read from /etc/passwd - it only reads from stdin.  I can;t
|> :make it do otherwise.
|> :
|> :I don't really understand perl...

Since everybody else posted a perl script or something besides 'awk', I
thought I'd contribute with an 'awk' answer:

---cut here-------------------------
#!/bin/ksh

awk -F: -v LOGIN=$1 'BEGIN { NOTFOUND = 1 }
{
	if( $1 == LOGIN )
	{
		print LOGIN " belongs to group number: "$4
		system( "groups -p $1" )
		NOTFOUND = 0
		exit
	}
}
END { if( NOTFOUND ) print "Cannot locate user: " LOGIN }' </etc/passwd	
-----cut here----------------------

Let's say this was the name of the file 'gid'.  Syntax would be:

gid UserLoginId



-- 
---Mark C. Burhans---sasmob@chewy.unx.sas.com---919/677-8001 ext 7324
SAS Institute, Inc., USA, SAS Campus Drive, Cary, NC 27513.
"If you want a resume, I'll put it in writing.  It's only good for a day
and the contents are frightening."  -- Lyrics by Harry Connick, Jr.
 
Newsgroups: comp.unix.questions
From: cavers@menudo.uh.edu (Chris M. Cavers)
Subject: Disk decoding
Summary: Any hints on how to decode a disk
Organization: University of Houston
Date: Tue, 8 Sep 1992 18:33:40 GMT

I would like to decode the information on a unix disk.
I am using Sun OS 4.1.2.
I am intercepting the block i/o calls at the device driver level.
Given a byte offset and a number of bytes to move, I would like to be
able to determine which file contains the data. 

Thanks in advance,
Chris
cavers@menudo.uh.edu
From: mgj@franklin.ee.umr.edu (Mahesh Govind Joshi)
Newsgroups: comp.unix.questions
Subject: .netrc & rexec !!
Date: 10 Sep 92 05:34:04 GMT
Reply-To: mgj@ee.umr.edu (Mahesh Govind Joshi)
Organization: University of Missouri - Rolla
Originator: mgj@ee.umr.edu

Hi,

I have tried local help out here, but have failed to get an
answer.  

In my program, I am doing an rexec. The man pages for "rexec"
say that " If  a  username  and password are both specified, then
these are used to authenticate to the foreign host; otherwise the
environment  and  then  the  user's  .netrc file in his home
directory are searched for appropriate information."

In my .netrc(in my home directory at ee.umr.edu)  i have :
machine mcs213e.cs.umr.edu 		/* the machine on which
	rexec is being performed */
login mjoshi	/* my login name on mcs213e.cs.umr.edu */
password xxxxx

What changes do I need to my rexec call now?

My original call is as follows:
rem = rexec(hp,inport,"mjoshi","xxxx","new",NULL);
This works fine.( w/o my .netrc).  But, I just cant figure out
how to use rexec with a .netrc file. (i.e what changes do I make
in my call to rexec(....)?


This question is very elementary but I am using "rexec" for the
first time. I hope I am not too confusing.

Thanks in advance !!

Mahesh Joshi
________________________________________________________________________
Mahesh Joshi 			|   Bura duniya ko hai kehta
Help Desk Consultant		|   Aisa bhola to na ban 
Snail Mail:- 1300 N. Oak Street	|   Jo hai karta,woh hai bharta	
#17, Rolla MO 65401.		|   Hai yahan ka hai chalan
Voice:(314)341-8197.		|   Takdeer nahi chalnegi yahan
Email : mgj@ee.umr.edu		|	---- Majrooh Sultanpuri---- 
------------------------------------------------------------------------
Xref: sparky comp.unix.questions:10931 biz.sco.general:3262
From: davidf@golem.uucp (David J. Fiander)
Newsgroups: comp.unix.questions,biz.sco.general
Subject: Re: Help with MMDF
Date: 10 Sep 92 21:32:33 GMT

According to kgermann@zeos.com (Ken Germann):
>Here is the message :
>
>From mmdf Thu Sep 10 07:25:40 1992
>Date: Thu, 10 Sep 92 7:25:40 CDT
>From: MMDF Mail System <mmdf@zeos.com>
>Subject: Mailbox format error
>To: kgermann
>
>Status: R
>
>Your mailbox was not in the expected format, it was in the format:
>
>old
>
>Your mail will be delivered, but please have your System Administrator
>convert your mailbox, or arrange to have mail delivered in another format.

You built and installed MUSH and Elm to recognise MMDF-style
mailboxes, and then installed a different mail system.  The new
mail system (smail) writes mailboxes in a different format, so
both Elm and MUSH complained.  "yucky" mail recognises both
formats, so it worked fine.

Your problems were compounded by the fact that you screwed up
either the installation of smail, or the removal of MMDF.  The
message you see above is generated by the MMDF local delivery
channel when it notices that your mailbox is not in the MMDF
format.  Since "yucky" mail still works, I would guess that the
problem is that you didn't delete it.  Even if no human uses
/usr/bin/mail (aka /bin/mail), lots of programs do (like cron,
calendar, the news subsystem, etc.).

You can't mix mail systems.  Go into custom and _remove_ MMDF,
then install smail.  Make sure you do this in single user mode.

Although, _I_ personally would rather run MMDF and get support
than compile smail, and have to worry about the source. (And I
am listed in the credits for smail 3.1.26, so this isn't just
sour grapes.)

- David
From: vandel@di.epfl.ch (Jean-Marc Vandel)
Newsgroups: comp.unix.questions
Subject: coroutines package
Date: 7 Sep 92 16:43:42 GMT
Organization: Ecole Polytechnique Federale de Lausanne

Hi all !

     I'm looking for a PD coroutines package, as portable as possible ... I found the NIHCL
package for C++ on alw.nih.gov, but are there any other ones ?
     Thanks in advance,
--


                                           Jean-Marc Vandel


--------------------------------------+--------------------------------------
    Swiss Institute of Technology     |    E-mail : vandel@di.epfl.ch
    DI-LIT                            |    Work   : +41 21 693-2648
    ELD-231                           |    Home   : +41 21 634-1846
    CH-1015 Lausanne (Switzerland)    |    Fax    : +41 21 693-4660
Newsgroups: comp.unix.questions
From: tsar.Princeton.EDU!fuchs (Ira H. Fuchs)
Subject: Forms packages
Originator: news@nimaster
Organization: Princeton University
Date: Wed, 9 Sep 1992 20:41:33 GMT

Can anyone please direct me to software (PD preferred but not required)  
that would facilitate the creation of data entry forms using CURSES (on a  
VT100 for example).I have the vague recollection that Bell Labs had  
something in one of their Workbenches that did this sort of thing. I have  
seen the forms code for emacs and that may be one alternative but I am  
looking for others to consider.

I would also like to find a program which would make it easy to do  
electronic forms via email. 
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: deano@areyes.com (Dean Carpenter)
Subject: Problem building new ISC 3.0 kernel
Followup-To: comp.unix.questions
Organization: Areyes, Inc.
Date: Fri, 4 Sep 1992 19:52:41 GMT

  We just installed ISC 3.0 on a generic 386DX machine here, and we
already have it running fine on a couple of other (different) 386s and
486s.  This new install won't let us rebuild a kernel though ...

  The system is pretty standard, 386DX, SVGA, WD 1007-SE2 esdi.  Almost
immediately after starting the build from with sysadm, it halts with the
following errors :

	LINE: swap	dsk0t	2
	ERROR: Unknown device 'dsk0t'
	LINE: dump	dsk0t	2
	ERROR: Unknown device 'dsk0t'
	LINE: root	dsk0t	1
	ERROR: Unknown device 'dsk0t'
	LINE: pipe	dsk0t	1
	ERROR: Unknown device 'dsk0t'
	ERROR: Missing required device 'root'
	ERROR: Missing required device 'swap'
	ERROR: Missing required device 'pipe'
	ERROR: Missing required device 'dump'
	FATAL ERROR: Errors encountered. Configuration temrinated.

  This above here shows up in a window offering to let you escape.  The
install went no differently from the others, and the default controller
is the athd on irq 14, i/o 1f0.  There doesn't appear to be a dsk0t
device on the other machines, though they all are scsi, not esdi.

  Anyone have any ideas ?  We're stumped.

-- 
Dean Carpenter		uunet!areyes!deano		(203) 847-6003
Areyes, Inc.		deano@areyes.com

"No matter where you go, there you are"  sayeth Buckaroo 								 across the Eighth Dimension
Newsgroups: comp.unix.questions
From: fester@mamushka.ncsu.edu (Cousin It)
Subject: SED GURUS: Some Newline Questions
X-Disclaimer: none
Keywords: sed newline
Reply-To: fester@mamushka.ncsu.edu (Cousin It)
Organization: North Carolina State University
Date: Thu, 10 Sep 1992 23:06:03 GMT


Hi sed people.  For a project I'm working on, I'm trying to
figure out how to insert newlines in sed.  Man pages were
virtually useless, although I did determine that the "N"
might be necessary.  Here's the scenario:

1)  In the input text, lines ending with a semicolon need to have 
    a right bracket and newline inserted:

--before--
start
{ THIS IS LINE 1;
{ THIS IS LINE 2;
end

--after--
start

{ THIS IS LINE 1; }

{ THIS IS LINE 2; }

end

I've got this much:

   sed -e 's/;$/; \}/'
                  ^necessary?
  
Adding \n, \\n, or \\\n was fruitless.


2)  Next, I need to delete a newline from text:

--before--
start
TITLE 1 | |
subtopic

end

--after--
start
TITLE 1 | | subtopic

end

Any ideas?  I've tried rewriting the whole thing in awk and perl,
but it didn't work properly in awk, and I don't know perl well 
enough to get the thing to work in perl, although I did try the
s2p program.  Awk was a _lot_ easier to learn than perl, 
at least for me...

"fester"
Newsgroups: comp.unix.questions
From: kgermann@zeos.com (Ken Germann)
Subject: BASH Compiling for SCO.
Organization: Zeos International, Ltd
Date: Mon, 07 Sep 1992 15:48:44 GMT


I receive this error when compiling BASH 1.12 for SCO. Any ideas on 
correcting this problem would be appreciated.

# make install

        make   DESTDIR=/usr/gnu/bin -f bash-Makefile install

        rm -f bash

        cc     -g -L./lib/readline/  -L./lib/glob/ \

           -o bash shell.o y.tab.o general.o make_cmd.o print_cmd.o   dispose_cm

d.o execute_cmd.o variables.o copy_cmd.o error.o  expr.o flags.o jobs.o subst.o

hash.o mailcheck.o test.o  trap.o alias.o ./lib/malloc/malloc.o  braces.o unwind

_prot.o  siglist.o  version.o bashline.o builtins/libbuiltins.a -lreadline -lter

mcap -lglob

undefined                       first referenced

 symbol                             in file

alloca                              y.tab.o

ld fatal: Symbol referencing errors. No output written to bash

*** Error code 13



Stop.

*** Error code 1



Stop
-- 
Ken Germann              ZZZZ EEEE  OO   SSS    ZEOS International, Ltd.  
support@zeos.com   INET     Z E    O  O S       Technical Support Dept.
uunet!zeos!support UUCP    Z  EE   O  O  SS     530 5th Ave N.W.
800-228-5390      VOICE   Z   E    O  O    S    St. Paul, MN 55112
612-633-7337             ZZZZ EEEE  OO  SSS     FAX         612-633-4607
Newsgroups: comp.unix.questions,comp.windows.x.apps
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: backward MANPATH ?
Originator: tchrist@pixel.convex.com
Date: Thu, 10 Sep 1992 03:43:33 GMT
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

From the keyboard of ruck@zeta.ee.ufl.edu (John R Ruckstuhl Jr):
:If MANPATH is /usr/man:/usr/local/man ,
:then
:    /usr/man/man1/cmp.1  is output rather than  /usr/local/man/man1/cmp.1
:    /usr/man/man1/split.1  is output rather than  /usr/local/man/man1/split.1
:    /usr/man/man1/tail.1  is output rather than  /usr/local/man/man1/tail.1
:but
:    /usr/local/man/man1/cat.1  is output rather  than /usr/man/man1/cat.1v
:    /usr/local/man/man1/cut.1  is output rather  than /usr/man/man1/cut.1v
:    /usr/local/man/man1/sum.1  is output rather  than /usr/man/man1/sum.1v
: 
:Again -- is this standard "man" behavior?
:Should the files be renamed to get what I want, or is there an easy way 
:to override this?

I would say that if /usr/man is first, "man cat" should get
/usr/man/man1/cat.1v before /usr/local/man/man1/cat.1 .
At least, it works that way under my man program. :-)

:
:(That is, other than using another implementation of "man" -- thanks for 
:the pointers to Tom Christiansen's (sp?) "perl"-based "man").

Yep, that's the right spelling.

:> To me, it's counter-intuitive; is there an interesting explanation for this?
:
:And, what !is! the correct description of the search?
:Will a ".1l" be found before a ".1v" ?

I'm not sure there *is* a correct description of the search, especially
since different vendors vary so much.  Since you probably don't have
source to the various vendors' versions of man, it's quite hard to
know what they're really up to. 

All I can tell you is what I decided was reasonable, and that was 
that I couldn't predict what users would think was reasonable. :-)

First, we sort by the user-settable MANPATH, left to right, like PATH. 
Within each MANPATH tree, however, we also sort by whatever MANSECTs
you have.  The default is "ln16823457po"; HP users generally
"1:1m:6:8:2:3:4:5:7";  I use "2318nlp4567" myself.   I do not
currently implement a per-tree MANSECT setting.  Subsections that
aren't in the MANSECT are by ascii order, putting 1a before 1z.

I kinda think subsections are bogus anyway.

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist

	    "AT&T -- anything better is illegal."
		  -- Keith Lofstrom, comp.unix.bsd, "AT&T sues BSDI" thread
From: geremia@legolas (Peter P. Geremia)
Newsgroups: comp.unix.questions
Subject: csh command line editing
Date: 14 Sep 92 19:28:36 GMT
Reply-To: geremia@ctron.com
Organization: None whatsoever


Hi,

	I have a Sun SPARCstation running sunos 4.1 unix.  Does anyone
know how to get command line editing to work.  Also how about command
line history browse using the arrow keys????


			Thanks...

***************************************************************************
Peter P. Geremia		            Email: geremia@ctron.com
Cabletron Systems, Inc.			    (603) 332-9400 Extension: X1728 
Spectrum Developers Toolkit Testing

Office: Building 36, cube near the right most door to the QA lab. 
***************************************************************************
From: jle9162@zeus.tamu.edu (ECKHARDT, JASON LEE)
Newsgroups: comp.unix.questions
Subject: Re: What is Beta-test ?
Date: 14 Sep 1992 19:48:00 GMT
Distribution: usa
Organization: Texas A&M University, Academic Computing Services
News-Software: VAX/VMS VNEWS 1.41

In article <1992Sep14.155238.25372@Celestial.COM>, bill@Celestial.COM (Bill Campbell) writes...
>In <BuJB84.6C4@news.cso.uiuc.edu> gordon@osiris.cso.uiuc.edu (John Gordon) writes:
> 
>:zzang@stat.ufl.edu (Zhuo Zang) writes:
> 
>:>Hello,
>:>I often see some softwares in their release notes
>:>say that this is a Beta-test version .
>:>What is it this Beta-test ?
>:>What kind of features it has?
>:>Is it available to the public for testing the program?
> 
>:	It means that the program in question is not quite finished, that it
>:probably has some bugs left in it.
> 
>You mean like DOS, Windows, and OS/2?

  Don't forget UNIX and probably every other OS too....

> 
>Bill
>-- 
>INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
>UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
>             uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
>SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
From: chet@odin.ins.cwru.edu (Chet Ramey)
Newsgroups: comp.unix.questions
Subject: Re: BASH Compiling for SCO.
Date: 11 Sep 1992 19:06:41 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
NNTP-Posting-Host: odin.ins.cwru.edu

In article <1992Sep07.154844.18755@zeos.com> kgermann@zeos.com (Ken Germann) writes:

>I receive this error when compiling BASH 1.12 for SCO. Any ideas on 
>correcting this problem would be appreciated.

Add a line to the machine description in machines.h that reads

#undef HAVE_ALLOCA

and see if that does the trick.


-- 
``The use of history as therapy means the corruption of history as history.''
	-- Arthur Schlesinger

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu
Newsgroups: comp.unix.questions
From: cs921022@ariel.yorku.ca (MING HE)
Subject: Q:  the newest version of screen?
Organization: York University, Toronto, Canada
Date: Sat, 12 Sep 1992 03:15:57 GMT


Hi,

Who know what is the newest version of screen.  I know there is a
screen-3.2 for 386bsd.  But what for ultrix?

It will be great if anyone can provide the ftp site.

cheers,

ming
From: hjbortol@impa.br (Humberto Jose Bortolossi)
Newsgroups: comp.unix.questions
Subject: Hearing .au files on PC
Date: 11 Sep 92 22:51:02 GMT

Greetings!

	is it possible to hear (access) sun audio files (.au files) on pc?
Is there a program that reads .au files on PC? Is there a program that con-
verts .au files to .snd files for instance?

	Any hint will be welcome!

	Thanks, Humberto.
-- 
+------------------------------------------+----------------------------------+
! Humberto Jose' Bortolossi                ! bitnet:   hjbortol@brlncc.bitnet !
! Instituto de Matematica Pura e Aplicada  ! internet: hjbortol@gauss.impa.br !
! Estrada Dona Castorina, 110              +----------------------------------+
! Jardim Botanico                          ! voice:    55-021-294-9032 (185)  !
! CEP 22460 - Rio de Janeiro - RJ - Brazil ! fax:      55-021-512-4115        !
+------------------------------------------+----------------------------------+
From: wcon9011@dsacng1.dsac.dla.mil (Quincy Leslie)
Newsgroups: comp.unix.questions
Subject: vi Error Message- Too much macro text
Keywords: vi macro text error
Date: 10 Sep 92 13:41:02 GMT
Organization: Defense Logistics Service Center, Battle Creek, MI

The vi error message in reverse video "Too much macro text" appears
when a vi session is initiated, since my .exrc was greatly expanded
with abbreviations.

The .exrc file is now
       561 bytes
	24 lines total
	 5 lines of mapped keys (q v V q _)
	 2 lines of set commands
	17 lines of abbreviations (:ab)

The error messages appeared after 6 or 7 abbreviations were added to the .exrc
file.  The error message appears briefly at the beginning of the vi session,
after which the vi user becomes resident in the requested file.  The only 
symptom of error, during the vi session, is that the last two abbreviations 
in the .exrc, are non-functional.

Are any special files, vi file entries, environmental variables, or other
techniques available to adjust the vi environment to fit increased .exrc file
sizes?  Any number of abbreviations and key mappings could thereafter be
inserted in a ".exrc" file.

I have made an extensive review of my resources, but to no avail.
My most comprehensive reference is the Nutshell Handbook "Learning the vi
Editor", Linda Lamb author, published by O'Reilly & Associates, Inc.
This version is copyright 1986, Second Edition.

______________________________________________________________________________
Quincy Leslie
Wilson Hill Associates, INC>
(616)961-5063
InterNet: wcon9011@dsacng1.dsac.dla.mil

______________________________________________________________________________
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Newsgroups: comp.unix.questions
Subject: Re: Unix Script Debugger
Keywords: unix script debug
Date: 4 Sep 92 23:44:57 GMT
Organization: VPI&SU Computer Science Department, Blacksburg, VA

In article <1992Sep4.201604.717@beaver.cs.washington.edu> simonson@cs.washington.edu (Kevin Simonson) writes:
>
>     I've been writing Unix scripts for a little bit now.  Whenever I have
>trouble with one I always end up inserting a bunch of "echo" statements
>into it to try to figure out what's wrong with it, and this has always
>solved the problem for me eventually.
>
>     My question is whether I'm wasting time with this farely brute force
>method.  Does anyone know of a Unix script debugger to solve the problem
>without editing the script?  Or even an automated editor that inserts
>"echo" statements?  Any information on this would be helpful.
>
>                                     ---Kevin Simonson

If you are using perl there is a debugger available.

If you are using csh/sh, you can run it in the "debugging" mode
as

  #sh -x <script> or % csh -x <script>

which displays the statements as they are executed and the values of
the intermediate expressions and variables as a statement is  executed.
Of course, this still doesn't beat having a debugger shc as that for perl.

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
Newsgroups: comp.unix.questions