HDTenEightyP/NetNews huggingface dataset:
From: og@access.digex.com (Gary Goldberg)
Newsgroups: comp.unix.aux
Subject: Many questions
Date: 25 Jan 1993 08:35:13 -0500
Organization: Order? Just a small bureaucracy really. (DIGEX)
Distribution: world
NNTP-Posting-Host: access.digex.com

I installed A/UX over the weekend, and began to use it. I have some questions.
1. No matter how I set icons or window positions in the A/UX 32bit Finder,
when I log back in, they get reset, yet the Views control panel doesn't
say `snap to grid' or anyhing like that.
2. The color mode of my video board gets reset to B&W whether it was set to
8 bit color or 24 bit, etc.
3. What is the relationship between the /mac/sys/System Folder, the
/mac/sys/Login System Folder, the /mac/sys/Startup System Folder, and the
individual System Folders of users? I would like to put only one copy of
each extension and control panel, etc on the system and use aliases/links
to other places. Also, how can I set things so when I create a new user,
their System Folder gets the setup I want?
4. Is Motif available anywhere, so that I can dump twm in X11?
5. I've decided that I will never use MacX. Can I delete it from the
drive, and which files are safe for deletion?
6. This is related to (3), but I noticed that there are multiple System
files all over the place. Can I just have one, and link the rest?
7. How can I change the Finder display so that hidden files get listed at
.cshrc, not (big dot)cshrc?

I will undoubtedly have more later, but thanks in the meantime. - Gary

-- 
- Gary Goldberg og@access.digex.com Bowie, MD KA3ZYW
From: chrism@col.hp.com (Chris Magnuson)
Newsgroups: comp.unix.aux
Subject: Re: 3.0 and Radius Hardware
Date: 21 Jan 1993 17:00:55 GMT
Organization: HP Colorado Springs Division
NNTP-Posting-Host: hpcsrc13.col.hp.com

jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
> >(ii) Does A/UX support the Radius accelerated video boards (particularly 8Xj)?
> >Does QuickColor really work? [Apple says in the release notes that A/UX
> >does not support the 8.24 GC accelerator, so...]
> 
> A/UX doesn't support the acceleration aspects of the board. It appears to
> work with some Macs (read non-Quadra) in the unaccelerated mode.

  I'm using the 24X si card with a IIsi and it works fine.  I don't know if
the acceleration works, but I leave it on before I fire up AUX Startup.

chrism@col.hp.com
Newsgroups: comp.unix.aux
From: rsm@world.std.com (Robert Marlan)
Subject: aux installation crisis!
Organization: The World Public Access UNIX, Brookline, MA
Date: Sat, 23 Jan 1993 04:50:20 GMT

I am trying (in vain) to install aux 3.0 on a IIci with a nec cdr-25
cd rom player.  The installtion fails as soon as I try to boot the initial 
floppy install disk for the IIci.  It seems like it can not access the cd.
I tried replacing 'cd rom hack' which comes in the system folder of the
boot disk from apple with the nec driver but had no further success.
Is it possible to install this with the nec drive?? please help thanks 
bob

Newsgroups: comp.unix.aux
From: gpb@gpb-mac (greg berryman )
Subject: Re: Swap Space
Organization: SPS
X-Newsreader: Tin 1.1 PL4
Date: Tue, 26 Jan 1993 13:51:05 GMT

kingtut@world.std.com (Donald Eastlake IV) writes:
: Hi,
: 	I have a big spaw partition for A/UX, but I don't know if it is being
: used. How do you tell how much spaw is being used, and how do you config swap
: to work?
: 

swap -l
will tell you how much disk space is in the swap partition, where it is, and
how much is availible (free).

man swap will give you all the needed details for configuring the swap space.

Greg.

--
My words, not Motorola's.   * ______ *
gpb@gpb-mac.sps.mot.com     * \ BI / * I will NOT ride in the back of the bus.
Greg Berryman (512)928-6014 *  \  /  *         SILENCE = DEATH
Motorola Austin, Texas, USA *   \/   *     First, be true to yourself.
From: garnett@gestalt.austin.tx.us (John Garnett)
Newsgroups: comp.unix.aux
Subject: compiling gcc 2.3.3
Keywords: gcc aux mac
Date: 23 Jan 93 18:38:33 GMT

I would like to compile gcc 2.3.3 (or even an earlier version) under A/UX
but the gcc configure script doesn't appear to know about Apple or A/UX.
If anyone knows the incantation, I'd be grateful to learn it.

--John

p.s. I imagine this would be a frequently asked question if there is a FAQ
for this group (but I haven't seen such a FAQ).

--
John Garnett                   garnett@gestalt.austin.tx.us (NeXT Mail ok)
Newsgroups: comp.unix.aux
From: ww2@ssc.gov (Wes Price)
Subject: Problems with Apple's HDB UUCP v1.16
Organization: Superconducting Super Collider Laboratory
X-Newsreader: TIN [version 1.1 PL8]
Date: Wed, 27 Jan 1993 22:24:19 GMT

I'm posting this for Jim Jagielski, whose news feed is currently down.

There seems to be a conflict of sorts between A/UX 3.0's syslogd and v1.16 of
the HDB UUCP (available from aux.support.apple.com): when you install the new
UUCP, it replaces dial.o in libc.a and libc_s.a; unfortunately, this breaks
syslogd (as you can see by compiling the code Jim posted earlier in the day).

Does anyone at Apple have any good ideas about how to fix this?  [I'm assuming
that downgrading dial.o in libc_.a and libc_s.a will break the new UUCP.]

ww2
--
Wes W. Price II             "When outclassed in wit, create plausible compli-
SSC Laboratory, Dallas TX    cations and let the enemy think himself to death."
ww2@ssc.gov                  Pyanfar Chanur,
ww2@horse.ssc.gov                    C.J. Cherryh's _The_Kif_Strike_Back_
Newsgroups: comp.unix.aux
From: kingtut@world.std.com (Donald Eastlake IV)
Subject: Swap Space
Organization: The World @ Software Tool & Die
Date: Sat, 23 Jan 1993 19:02:33 GMT

Hi,
	I have a big spaw partition for A/UX, but I don't know if it is being
used. How do you tell how much spaw is being used, and how do you config swap
to work?

Thanks,
kingtut@world.std.com
Xref: sparky comp.unix.aux:4692 comp.unix.wizards:5589 comp.windows.x.motif:8726
From: chrism@col.hp.com (Chris Magnuson)
Newsgroups: comp.unix.aux,comp.unix.wizards,comp.windows.x.motif
Subject: X11 Alternate Universe?
Date: 21 Jan 1993 17:07:16 GMT
Organization: HP Colorado Springs Division
Distribution: inet
NNTP-Posting-Host: hpcsrc13.col.hp.com


  I would like to get an Alternate Universe (extra BW screen that comes up
when you warp the mouse across the edge) on my Mac IIsi running AUX 3.0.
Can anyone tell me what X11-specific things I need to do to make this happen?
I assume I also need to do something with /dev files.

Thanks,
Chris Magnuson
chrism@col.hp.com

Newsgroups: comp.unix.aux
From: jarthur@bnr.ca (John Thompson)
Subject: Admin Manuals
Date: Wed, 27 Jan 1993 19:56:27 GMT
Organization: Bell-Northern Research, Richardson, Tx.

I need the A/UX administration manuals for 2.0.1.  Anyone want to sell
their set or point me to a source?

Thanks,

jarthur@bnr.ca or jarthur@jamatx.lonestar.org

Newsgroups: comp.unix.aux
From: gmadey@Nimitz.mcs.kent.edu (Greg Madey)
Subject: ARA work with A/UX
Keywords: Apple Remote Access, ARA
Organization: Kent State University
Date: Tue, 26 Jan 1993 00:23:40 GMT

Does anybody know if ARA (Apple Remote Access)
works with A/UX?

Also, does anybody know if Timbuktu or Carbon Copy
work with A/UX?

I would like to connect to my IIfx running A/UX 3.0
at work from my MAC at home using one of the above programs
so as to access the MAC OS on the office machine.
The machine at work is a node on the Internet using an
Apple ethernet card. 

Thanks,

Greg Madey
Kent State University
From: charman@snoopy.inria.fr (Philippe Charman)
Newsgroups: comp.unix.shell
Subject: How to generate ISO-caracters with sed ?
Date: 23 Jan 93 13:57:28 GMT
Organization: INRIA, Sophia-Antipolis (Fr)

-- 


Hello dears netters,

My problem is the following : i can't get iso-character with the command sed 

For exemple, i want to substitute  \'e  by the iso-character 351

So i try     sed s/\'e/\351/g 

but it doesn't work ....


Any ideas ?



Thanks, Phil.


PS : excuse for my english :-)

------------------------------------------------------------------
 Philippe CHARMAN

 INRIA Sophia Antipolis		  | voice (+33) 93.65.77.48        
 2004, route des Lucioles	  | fax   (+33) 93.65.77.65    	 
 F-06561 Valbonne Cedex (France)  | e-mail charman@sophia.inria.fr	
------------------------------------------------------------------
Newsgroups: comp.unix.shell
From: davisre@sage.cc.purdue.edu (Robert Davis)
Subject: Re: multiple sub's with 'sed'
Organization: Purdue University Computing Center
Date: Fri, 22 Jan 1993 20:16:11 GMT

In article <19891@mindlink.bc.ca> Ian_Staines@mindlink.bc.ca (Ian Staines) writes:
>
>for WORD in ${LIST}
>do
>        BOLD="${bold}${WORD}${unbold}"
>        sed "/s/${WORD}/${BOLD}/gw ${FILE}" ${FILE}
>done
>
>The shell appears to keep ${FILE} intact within the script, and does not
>updated it with each loop.  I only get the last substitution, not the entire
>list.

	sed's w command writes the pattern space to a file, creating
the file if it does not exist, and *overwriting* it if it does.  You
want it to *append* the pattern space to $FILE, but sed does not have
an option for that.

	You could use your "for" loop to construct a sed command and
then execute the command after the loop.  If you only have a few
words, the sed command could be stored in a shell variable -- many
words would require a temporary file.


Rob
-- 
| Robert Davis                                    davis@sonata.cc.purdue.edu
| "Look up, Hannah.  Look up."                            NeXT Mail accepted
--
From: kmh3@po.CWRU.Edu (Khosrow M. Hassibi)
Newsgroups: comp.unix.shell
Subject: Where to get tcsh for SPARC
Date: 23 Jan 1993 02:51:33 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: kmh3@po.CWRU.Edu (Khosrow M. Hassibi)
NNTP-Posting-Host: hela.ins.cwru.edu


	Hi 
	I need to get tcsh for SPARC.  Is there a place to get the 
	source from?  with anonymous ftp?

Appreciate your help

-- 
	|  ~  ~|        Thanx	| #include <disclaimer.h>
	| (o)(o)          &	|	Khosrow M. Hassibi	
	C     __)        Bye	| 	kmh3@po.cwru.edu	
	| ,___| o o o		|	eapg074@orion.oac.uci.edu	
From: mic@hpfcso.FC.HP.COM (Marc Clarke)
Date: Sat, 23 Jan 1993 23:45:03 GMT
Subject: Re: how to distinguish set command
Organization: Hewlett-Packard, Ft. Collins, CO
Newsgroups: comp.unix.shell

The "set" command with no options lists all currently set environment
variables.  The "set" command with options, such as "set -x" turns on
environmental options.
Newsgroups: comp.unix.shell
From: yorton@turtle11.rtsg.mot.com (James J. Yorton)
Subject: Korn's Response - ksh autoload quirk
Reply-To: yorton@rtsg.mot.com
Organization: Motorola Inc., Cellular Infrastructure Group
Date: Thu, 21 Jan 1993 23:15:31 GMT

At one time, someone questioned the ksh autoload feature.
I passed the question onto David Korn who responded.
Below is a copy of the original post.  Following it is Korn's
response to me.  Note that his response contains an explanation
of how ksh-92 will handle this.

In comp.unix.shell dattier@ddsw1.mcs.com wrote:

> ksh 11/16/88d under Dell SVR4 4.0 here on ddsw1 and the ksh running
> on a 3B2 on gagme recognize any filename in a directory in $FPATH as
> an undefined function whether or not that name has been declared for
> autoload with "autoload" or "typeset -fu."
>  
> But there is a difference when a file in $FPATH has the same name as
> an executable file in $PATH.  If the undefined function has been
> formally declared with "autoload" or "typeset -fu," then ksh
> interprets an appearance of that name on the command line as a
> reference to the function.  If the undefined function has not been
> declared but is recognized as such solely by dint of lying in
> $FPATH, then an appearance of the name on the command line is taken
> by ksh parser to mean the executable in $PATH (unless the function
> has actually been loaded with the . command or by a call to another
> function in the same file to whose name the file is linked).
> 
> Is that the correct behavior?  Is a file name in $FPATH that hasn't
> been declared for autoload supposed to be recognizable at all as an
> undefined function?  I haven't seen anything about that (nor about a
> difference in precedence from a declared undefined function) in the
> ferkakte manual.


David Korn writes:

: The way ksh88 works, is that PATH is searched first and then FPATH.
: The autoload feature allows functions bindings to occur before PATH.
: 
: ksh92 uses a different strategy.  While searching PATH, if a directory
: is found that is also in FPATH, the the file is processed as a function.
: This allows the user control over the order of function directories
: and regular directories.  In the case the PATH and FPATH contain
: disjoint directories, the result is the same.


--------------------------------------+---------------------------------------
Jim Yorton                            | Telephone:  +1 708-632-6695
Motorola Inc., General Systems Sector |
Cellular Infrastructure Group         | internet:  yorton@rtsg.mot.com
Arlington Heights, IL  60004          | uucp:      ...!uunet!motcid!yorton
USA                                   |
From: jsz@scf.nmsu.edu (Henri De Valois)
Newsgroups: comp.unix.shell
Subject: Another sed question.
Date: 27 Jan 93 20:47:53 GMT
Organization: New Mexico State University
X-Newsreader: TIN [version 1.1 PL8]


 I am trying to write a script,that would append to each EOL
 some string,say `blah'. but when I do "sed -e 's/^/blah/g' inputfile > outputfile"
 `blah' inserts at the begining of each line.

 Any ideas ,suggestions are welcome. 

Thanks,Jonathan.

--
     Never                                             \/  \/
          apologize                                    /\  /\
     Never                                            /  \/  \
          explain. <yo@freedom.nmsu.edu>             /   /\   \
           PGP 2.1 Key is available                 /   /  \   \ 
Newsgroups: comp.unix.shell
From: mwette@csi.jpl.nasa.gov (Matt Wette)
Subject: weird propery of test under root
Originator: mwette@mr-ed
Organization: Jet Propulsion Laboratory
Date: Thu, 21 Jan 1993 21:37:02 GMT


OS: SunOS 4.1.3

Here's something weird:
	test -x file
under root always says file is executable

mr-ed# sh
# touch xyz  
# if [ -x xyz ]; then echo executable; else echo not executable; fi
executable

# su mwette
mr-ed$ sh
$ if [ -x xyz ]; then echo executable; else echo not executable; fi
not executable

Why?  How can I get around this behaviour under root?

Matt
-- 
mwette@csi.jpl.nasa.gov
Xref: sparky comp.unix.shell:5465 gnu.emacs.help:5467
From: rbodin@bnr.ca (Richard Bodin)
Newsgroups: comp.unix.shell,gnu.emacs.help
Subject: German-English on-line dictionary
Date: 22 Jan 93 16:58:43 GMT
Organization: BNR Europe Ltd, Maidenhead, UK
X-Newsreader: TIN [version 1.1 PL8]

Hi Folks,

Does anyone know of a German to English to German dictionary available
for Unix, Emacs or even the IBM. It would make reading the German
newgroups a lot easier.

Danke Schon!
    ___
    |  \       /      *   Richard Bodin,      GSM Product Test   *
    |__/  _   _|      *   BNR Europe,         rbodin@bnr.ca      *
    |  \ / \ / |      *   Maidenhead,         ESN 590-4402       *
    |__/ \_/ \_/      *   England.            +44 628 794402     *
Newsgroups: comp.unix.shell,gnu.emacs.help
From: dcb@kopachuk.uucp (David Breneman)
Subject: Re: German-English on-line dictionary
Organization: Tacoma Screw Products, Inc.
Date: Tue, 26 Jan 1993 20:10:46 GMT

In article <1993Jan22.165843.22424@bnr.uk> rbodin@bnr.ca (Richard Bodin) writes:
>Does anyone know of a German to English to German dictionary available
>for Unix, Emacs or even the IBM. It would make reading the German
>newgroups a lot easier.
>
>Danke Schon!

Danke Schoen.  What you said was "Thanks already!"  You should get an
English to German dictionary, too.  :-)   (Friendly jibe, not a flame.)

Bitte Schoen.

-- 
David Breneman     Sys Admin, Tacoma Screw Products, Inc. |  ____  ____  ____
dcb@tacoma.uucp           |   SCREWIE the TSP CLOWN sez-  |   /   /___  /___/ 
 ..!uunet!tacoma!dcb      | "Zinc & cadmium plating stops |  /   ____/ / 
CompuServe: <DEAD>        |  rust & acts as a lubricant!" |
Newsgroups: comp.unix.shell
From: chris@engineer.mrg.uswest.com (Chris Fedde)
Subject: Re: what abput all those shells
Organization: USWEST Marketing Resources
NntpPostingHost: engineer.mrg.uswest.com
Date: 21 Jan 93 04:19:52 GMT

In article <t+f3hsr@rpi.edu> shannp@rpi.edu writes:
>Hi,
>  
>  I have played with Unix based computers for a while now and have come across the mention of several different shells.  Bash is the shell I am using now.  I have read the FAQ and did not find an answer to the question, "What are the advantages of the variety of shells?"
>  Is there some sort of FTP'able file avaiable (I have read shell101.BetaA)?
>
>Thanks alot,
>
>Pat Shannon
>shannp@rpi.edu

Shell selection is largely a religious choice.  Shells are written to
strike different balances between functionality, familiarity and
features.  Pick the shell that you like and that fits your way of
working.  Explore other shells as posible and switch when you think it
is appropriate.  Also if you plan on doing much Unix system
administration get familiar with the Bourne shell.

	If all you have is a hammer everything looks like a nail.
	chris
 
Chris Fedde, USWEST MRG, chris@mrg.uswest.com, voice +13037842823
From: kenneths@ai.mit.edu (Kenneth J. Schneider)
Newsgroups: comp.unix.shell
Subject: Re: padding things out
Date: 27 Jan 1993 17:36:48 GMT
Organization: MIT Artificial Intelligence Laboratory
Distribution: world
NNTP-Posting-Host: granola.ai.mit.edu

In article <1993Jan26.194057.1884@unix.brighton.ac.uk>, ndl@unix.brighton.ac.uk
(Nathan Lock) writes:
> How can I take a variable length field 
> (e.g the gecos field in the password file)
> and pad it out in a shell script so that it is always the same length 
> for the next field to line up. 
> (with a tab I will not always get the same column, sometimes I need 1 

the command rs works rather well, but you may not have it available. 

if not, here is a awk script:

set max = `awk 'BEGIN { max=0}{if (length($1) > max) max = length($1);}END{print 
max}' < inputfile`      # finds width of largest field in first colum

@ max = $max + 2        # put in no. of extra spaces you want after the first col.

awk '{printf("%-'$max's.", $1); for(i=2;i<NF;i++) printf ("%s ", $i); print""}' 
< inputfile


to do this with different columns change the $1 in the first and third line to the
desired col number.

--ken

Newsgroups: comp.unix.shell
From: sidney@spasm (Oracle Administrator)
Subject: csh env space
Organization: GE Medical Systems, Magnetic Resonance
X-Newsreader: TIN [version 1.1 PL8]
Date: Wed, 27 Jan 93 19:59:16 GMT

I have a user that is running out of environment variable space - help.

I could not find any reference in the man pages to increasing the env
space.  I'm running on a spac ipx using csh under SUNOS 4.1.2.  Any help
would be appreciated.

Testing, testing...
We have contact!
                                 
\\|//	   ___  _____  _____
 o o      /__    /      /  /
  U      ___/ __/__  __/__/

Email: sidney@picard.med.ge.com
From: srinivasan@vax1.umkc.edu
Newsgroups: comp.unix.shell
Subject: how to distinguish set command
Date: 23 Jan 93 19:21:03 GMT
Organization: University of Missouri - Kansas City
NNTP-Posting-Host: vax1.umkc.edu

hi,
	I am trying to use the set command in a shell programm file
and to my surprise it shows a list of all current shell variables 
instead of assigning the output of the command that i have given
in the back quote. Can someone kindly explain how i can take care 
of this.

thank you 

my e-mail address is
srinivasan@vax1.umkc.edu
From: zchen@phys.ksu.edu (Zheng Chen)
Newsgroups: comp.unix.shell
Subject: Script file to do ftp
Date: 28 Jan 1993 16:50:29 GMT
Organization: Kansas State University
NNTP-Posting-Host: maxwell.phys.ksu.edu
Keywords: script


I need to transfer a file to a remote machine once a while. But the
remote machine disconnects me if I do not do anything for a short time.
This is very painful because each time I have to go through logging in
and change directory with a long path. Now I am thinking to use a
script file. This script will take the file name as argument and ftp to
put it into the remote machine and quits itself. Please some one help
me out.


Zheng

--
_____________________________________________________________________________
-----------------------------------------------------------------------------
Zheng Chen
zchen@phys.ksu.edu
From: davidsen@ariel.crd.GE.COM (william E Davidsen)
Newsgroups: comp.unix.shell
Subject: Re: Exit status in /bin/sh
Date: 22 Jan 93 23:19:26 GMT
Reply-To: davidsen@crd.ge.com (bill davidsen)
Organization: GE Corporate R&D Center, Schenectady NY

In article <1993Jan22.152122.18637@news.csuohio.edu>, damin@randell.cba.csuohio.edu (Greg Boehnlein) writes:
| 	Hello all. I am working with /bin/sh under Ultrix 4.3 and am trying
| to write some scripts that check for exit conditions from Oman technologies
| Z-modem protocols.
| 
| 1. I need to check to see if the transfer was successful.
| 2. Depending on the value of the exit status, I need to do various
|    things.


  do_it
  case $? in
  0) echo Ok;;
  1) echo "Bad 1";;
  2) echo "Bad 2";;
  *) echo "Unexp. bad stat: $?";;
  esac

-- 
bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
    Keyboard controller has been disabled, press F1 to continue.
Newsgroups: comp.unix.shell
From: davisre@sage.cc.purdue.edu (Robert Davis)
Subject: Re: Another sed question.
Organization: Purdue University Computing Center
Date: Wed, 27 Jan 1993 21:49:05 GMT

In article <1993Jan27.204753.23339@nmsu.edu> jsz@scf.nmsu.edu (Henri De Valois) writes:
>
> I am trying to write a script,that would append to each EOL
> some string,say `blah'. but when I do "sed -e 's/^/blah/g' inputfile > outputfile"
> `blah' inserts at the begining of each line.

	Use s/$/blah/

	^ matches the beginning of the line
	$ matches the end of the line


Rob
-- 
| Robert Davis                                    davis@sonata.cc.purdue.edu
| "Look up, Hannah.  Look up."                            NeXT Mail accepted
--
Newsgroups: comp.unix.shell
From: wacren@lri.fr (Laurent WACRENIER)
Subject: Re: Where to get tcsh for SPARC
Organization: Laboratoire de Recherche en Informatique
Date: Sat, 23 Jan 1993 12:02:26 GMT


In article <1jqbrlINN3so@usenet.INS.CWRU.Edu>, kmh3@po.CWRU.Edu (Khosrow
M. Hassibi) writes:
|> 
|> 	Hi 
|> 	I need to get tcsh for SPARC.  Is there a place to get the 
|> 	source from?  with anonymous ftp?
|> 

  You can get the 6.02.00 version in the anonymous ftp server lri.lri.fr
in the 
/pub directory. You can also read the FAQ to find other sites
From: hartman@informix.com (Robert Hartman)
Newsgroups: comp.unix.shell
Subject: Re: Problem with sh-commands from a Makefile
Date: 21 Jan 93 18:45:58 GMT
Organization: Informix Software, Inc.

In article <1993Jan20.211940.18612@odin.diku.dk> turin@diku.dk (S|ren Turin) writes:
>Hi netters.
> ...
>
>all	:
>	(for dir in $(DIRS) ; do cd ${dir} ; make VARS=$(VARS) ; done)
>
>The problem is that ${dir} evaluates to "" ($dir evaluates to "ir",
>FYI) so make never descends into any of the relevant subdirectories. 

You need to delay the expansion of $dir by prepending a second $.
Try this:

all:
	for dir in $(DIRS); do cd $$dir ; ... ; done
                                  ^^

make expands $$ to $, and then the shell sees $dir, which it expands
correctly.

-r
Newsgroups: comp.unix.shell
From: jhgreen@cs.sandia.gov (Jethro H. Greene)
Subject: Re: Is there a "foreach" loop control in ksh?
Organization: Sandia National Laboratories, Albuquerque, NM
Date: Tue, 19 Jan 93 22:25:13 GMT

In article <1304@alsys1.aecom.yu.edu> manaster@yu1.yu.edu (Chaim Manaster) writes:
>I want to do a series of comands on each file in the current
>directory, with some sort of "foreach" construct that will loop
>over every file in some list (something like in perl), or in some
>cases every file in the current directory. How would one do this in
>ksh?

for i in *; do
   echo $i
done   #   This is a simple example.

I hope that this helps.

-- 
Jethro H. Greene
Massively Parallel Computing Research Laboratory,
Sandia National Laboratories, Albuquerque, New Mexico

Newsgroups: comp.unix.shell