HDTenEightyP/NetNews huggingface dataset:
From: mjo@snclib.snc.edu (Mike O'Connor)
Subject: Re: * WEEKLY SCHEDULE IN TCSH *
Reply-To: Mike O'Connor <mjo@snclib.snc.edu>
Organization: :noitazinagrO
Date: Sat, 5 Sep 92 11:43:14 GMT

In article <aet.715516459@munagin> aet@mullian.ee.mu.OZ.AU
(bert thompson) writes:

:could someone please tell me how to implement a weekly schedule
:indicator in tcsh.

:anyone know how to do this? if not in shell, then in any available language.

tcsh isn't exactly the greatest tool in the world for scheduling.  Check
out some of the scheduling utilities found in the various alt.sources
archives.  Something like this would probably be better suited to cron,
if you have that service available to you.

						...Mike

-- 
Mike O'Connor
"The NNTP Administrator"
<mjo@snclib.snc.edu>
Newsgroups: comp.unix.shell
From: donn@carson.u.washington.edu (Donn Cave)
Subject: Re: KSH: how to stop $ENV
Organization: University of Washington
Date: Fri, 11 Sep 1992 17:11:31 GMT

space%bnr.ca (Scott Pace) writes:

| I have a shell script written in ksh (i.e. has #! /bin/ksh at the start).
| How do I prevent the ksh from executing $ENV?  This is on HP-UX 7.05.  I
| have read the man page, and I don't see any switches that would do this.
| What I really want is the equivalent of the -f switch in the csh.

#!/bin/ksh -p

But, don't be surprised if it doesn't work!  It works on some Korn shells,
not others.  It's generally not documented, may be obsolete.  I'd like to
know - I think it's a valuable feature.  (It's not the same as expecting your
users to use the bizarre interactive-only formula for ENV.)

    doesn't work on
	(DYNIX/ptx 1.3) Version 11/16/88e

    does work on
	(DYNIX 3.1) Version 11/16/88d
	(Ultrix 4.2a) Version 11/16/88
	(AIX 3.2) Version 11/16/88d SBCS

It could be a build option.  For another example, of the Korn shells listed
above, two recognize {} as a globbing expression, as in csh.  (E.g.,
"ls *.{csh,ksh}".)  The other two don't, and I am under the impression that
it's up to the vendor (Sequent seems to think it's worthwhile, IBM and DEC
don't.)  (I don't understand why these options are presented, since it seems
to just offer an opportunity for gratuitous incompatibilities between the
same version of the Korn shell on different platforms.)

	Donn Cave, University Computing Services, University of Washington
	donn@cac.washington.edu
Newsgroups: comp.unix.shell
From: msb@sq.sq.com (Mark Brader)
Subject: Re: clever `cat' commmand?
Organization: SoftQuad Inc., Toronto, Canada
Date: Tue, 15 Sep 92 02:26:14 GMT

> For once, a question.  Can anyone think of the simplest means of making
> a utility that behaves like `cat(1)', but exits with 0 if something went
> through it, otherwise 1?  Preferrably a one-liner......
> I've tried [an awk solution]
> which is ok with a line oriented input stream, but not with a "binary" 
> stream.

Many of the utilities commonly used to build shell scripts don't work
reliably with "binary" streams, so this isn't surprising.  The proposed
solution "grep ." suffers from this problem, and in addition the pattern
"." is wrong; it should be, say, "^" to match even empty lines.

One utility that does work on binary streams is dd.  The version I'm familiar
with has the additional property that it verbosely outputs count information
on stderr.  On the system I'm typing this on, the following sh one-liner
does exactly what is wanted:

	(dd 2>&1 >&3 | grep -s -v '^0+0 ') 3>&1

The '^0+0 ' matches both lines of dd's stderr when nothing was passed through,
and neither line otherwise.

dd doesn't take filename arguments in the usual way, so prefix this with

	cat "$@" |

if you want arguments to be interpreted as in cat.  Sufficiently old sh's
may require something more verbose than "$@" to correctly handle the case
of zero arguments.
-- 
Mark Brader			"You have a truly warped mind.
SoftQuad Inc., Toronto	         I admire that in a person."
utzoo!sq!msb, msb@sq.com				-- Bill Davidsen

This article is in the public domain.
From: smr@hitkw14.pki-nbg.philips.de (S.Riehm)
Newsgroups: comp.unix.shell
Subject: Re: Tcsh&unknown characters(PLEASE HELP)
Date: 11 Sep 92 13:32:19 GMT

kopacik@mff.uniba.cs (Ivan Kopacik) writes:

>I use tcsh and I want to print unknown characters ( i.e. those
>that are neither printable nor control ), but _NOT_ in format
>\nnn. My terminal is in 8-bit mode. It works under csh
>but not under tcsh. How to setup tcsh?
>Any info would be great appreciated.

Part II:
I just looked at my $version veriable, and I noticed the following
strings on the end:
	8b,lf,dir
I assume this is attatched to the stty settings or perhaps a compiler
option?? 
perhaps you need to:
	stty cs8
    OR
	recompile: using an 8 bit IO compiler option.
	( Don't quote me on this, its called an educated guess, cus I
	haven't compiled tcsh for a while, and I don't have the source
	on-line any more)

catchya

-----------------------------------------------------------------
Stephen Riehm		Configuration Management	   _-_|\ 
smr@pki-nbg.philips.de	Philips Kommunikations Industrie  /     \
Work: +49 911 526 2975	N|rnberg, Germany		  \_.-.*/
Fax:  +49 911 526 2095	"I was there, now I am here!"	       v 
"My company speaks another language, I CAN'T speak on it's behalf"
From: naraht@drycas.club.cc.cmu.edu (Randolph J. Finder)
Newsgroups: comp.unix.shell
Subject: zork shell=adven. shell?
Date: 13 Sep 92 00:16:18 GMT
Organization: Carnegie Mellon Computer Club

What I m thinking of as the Zork shell might actually be the adventure shell.

I remember the following ways of doing things in it.
Instead of cd .. it was "go up"
instead of cd thing it was "go thing"
to move a file you got the file and placed it in your inventory and then went
to the new directory and dropped it there.

Is this the adventure shell?


Randy Finder
-- 
(naraht@drycas.club.cc.cmu.edu)	| Leadership,Friendship, and Service
(vri_rjfin@dmis.ha.osd.mil)	|          Alpha Phi Omega
(tnc!m0039@uunet.uu.net)	| National (Co-ed) Service Fraternity
"Service to others is the rent that we pay for living on the planet"(quote?)
Newsgroups: comp.unix.shell
From: d-lewart@uiuc.edu (Daniel S. Lewart)
Subject: Re: Awk problem
Originator: dslg0849@uxa.cso.uiuc.edu
Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
Organization: University of Illinois at Urbana
Date: Tue, 8 Sep 1992 19:50:51 GMT

ronnya@stud.cs.uit.no (Ronny Haavard Arild) writes:

> When I write this line in my shell (zsh):

> awk '/ .    [0-9.*]+ +[0-9]+ +[0-9.]+  */ {printf "%10s|%5s|%4s|%s\n", \
> substr($0,7,10), substr($0,20,5), substr($0,27,4), substr($0,33,120)}' \
> <oldfile> | tr "[A-Z]" "[a-z]" > <newfile>

> from this line in <oldfile>:
>       0000001231     212   8.1  African Queen, The

> I get this line in <newfile>:
> 0000001231|  212| 8.1|aGSMGAQ qZIIQ, tII

> While what I want is this:
> 0000001231|  212| 8.1|african queen, the

> Could someone please help me out, as I'm stuck. From the little I know about
> awk this should work.

It works on my machine; I think your `awk' may be broken.  Why don't you
try one of the following?
-------------------------------------------------------------------------------
gawk '{printf("%s|%5d|%4.1f|%s\n",$1,$2,$3,tolower(substr($0,33)))}' \
	oldfile > newfile
-------------------------------------------------------------------------------
awk '{printf("%s|%5d|%4.1f|%s\n",$1,$2,$3,substr($0,33))}' \
	oldfile | tr "[A-Z]" "[a-z]" > newfile
-------------------------------------------------------------------------------

Daniel Lewart
d-lewart@uiuc.edu
Newsgroups: comp.unix.shell
From: peter@merlin.acadiau.ca (Peter Steele)
Subject: How to do $#a in Bourne shell?
Organization: Acadia University
Date: Thu, 10 Sep 1992 00:32:12 GMT

If I have a list in Bourne shell, how can I determine how many
elements are in, short of write a for loop and counting them?
Bourne shell doesn't seem to have C shell's $#variable construct.
It doesn't seem to support array indexing either, although I'm just
learning it and I might be missing something....
--
Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
Newsgroups: comp.unix.shell
From: chetal@is.morgan.com (Pradeep Chetal)
Subject: Re: Tool to convert SCCS to RCS
Followup-To: comp.unix.shell
Organization: Morgan Stanley & Company
Date: Mon, 7 Sep 1992 07:59:58 GMT

In article <2716@news.cerf.net> dataprod@nic.cerf.net (Allen Russ) writes:
   Does such a tool exist?
   greg strockbine, dataproducts, woodland hills, ca.

There is an sccs2rcs scripts available on the net. If you can't get it, I can
e-mail it to you.

/Pradeep
--
----------------------------------------------------------------------------
Pradeep Chetal                                          Phone: 81-3-3286-9678
Information Services Deptartment                          FAX: 81-3-3286-9040
Morgan Stanley Japan Ltd.  Tokyo Branch            E-mail: chetal@is.morgan.com
        Ote Center Bldg. 3F, 1-1-3 Otemachi, Chiyoda-ku, Tokyo 100
Newsgroups: comp.unix.shell
From: ronnya@stud.cs.uit.no (Ronny Haavard Arild)
Subject: Re: Awk problem
Organization: University of Tromsoe, Norway
Date: Wed, 9 Sep 1992 17:26:11 GMT

Actually, I should have written "tr problem" in the header, as the awk
part was working as it should. The whole problem was caused because my
"LC_COLLATE" variable was messed up. Still, it worked when I changed
"tr [A-Z] [a-z]" to "remsh lgserv0 'tr [[:upper:]] [[:lower:]]'".
For some reason(s) beyond my knowledge I had to execute the command at
the local server *and* change [A-Z]... to [[:upper:]]...
Of course, when I sat "LC_COLLATE=" everything worked just fine everywhere.

I'm sorry for the waste of bandwith (don't bother to flame, I've learned
my lesson...).

Ronny
-- 
   Ronny H. Arild    | ronnya@stud.cs.uit.no | "The knack of flying is learning
    P.O.Box 5580     | University of Tromsoe | how to throw yourself at the
 N-9022 Krokelvdalen | ****** NORWAY ******* | ground and miss."-Douglas Adams
copy this line into your .signature to protect it against viruses! [version-9]
From: uucpa@uflash.UUCP (uucp administrative account)
Newsgroups: comp.unix.shell
Subject: test
Keywords: test
Date: 10 Sep 92 03:57:12 GMT
Organization: cfX inc., NYC.

TEST
From: libes@cme.nist.gov (Don Libes)
Newsgroups: comp.unix.shell
Subject: Re: Simulating keyboard input in interactive programs
Date: 15 Sep 92 18:07:55 GMT
Organization: National Institute of Standards and Technology

In article <1992Sep11.142202.11116@Princeton.EDU> subbarao@fc.hp.com (Kartik Subbarao) writes:
}In article <joslin.716216242@c0223.ae.ge.com> joslin_paul@ae.ge.com writes:
}>>pdel@ADS.COM (Peter Delevoryas) writes:
}>>: 	This is kind of related to #1. Our dial-in lines are set to
}>>: 	auto-log out after about 20 min. of inactivity. Short of
}>>: 	programming the terminal-server not to do this, how can I
}>>: 	keep a process going so that it always seems like I'm doing
}>>: 	something, even if I'm in the kitchen making a BLT (extra mayo).
}>>: 	Just starting up some kind of loop won't do it; it has to be
}>>: 	equal to a keypress from MY keyboard.

}>If you're using a pc at home, what about a TSR that puts a "space-CR"
}>in the keyboard buffer every five minutes?
}
}This would be a good solution, but you'd also want to put some checking
}that the user was *idle* for five minutes. I can imagine it now:
}
}% rm -rf * [hmm, do I want to do this?]
}% [ OH NO, my TSR hit return for me!!! ] 

}>Second, have you tried something like

}>while :
}>do
}>	sleep 3600
}>	echo "ls" > `tty`
}>done
}>
}>where `tty` returns the tty device your shell is using.
}
}I quote again from the very article you replied to:
}
}>>: Just starting up some kind of loop won't do it; it has to be
}>>: equal to a keypress from MY keyboard.
}
}Redirecting the output of echo to your tty simply writes the text 'ls' on
}your terminal. Just as if you said "echo thousandlineslong" > `tty`. It
}does NOT write to the input buffer of the tty. To do so, you can use the 
}TIOCSTI ioctl if you have it.
}
}Once again, please test your solutions before you post them.
}
}	-Kartik

Here's a tested solution.

#!expect -f
#Name: noidle
#Description: expect script to run a shell which avoids being "autologged out"
#        by sending a <space><delete> every hour if no other I/O has occurred.
#Author: Don Libes, December 30, 1991

set timeout 3600
log_user 0
system stty -echo raw
spawn $env(SHELL)
expect	{
	timeout {send " \177"; continue -expect}
	-re .+ {send_user -raw $expect_out(buffer); continue -expect}
	-i $user_spawn_id -re .+ {send $expect_out(buffer); continue -expect}
}
Xref: sparky comp.unix.shell:3834 comp.unix.questions:10776
From: mike@pacsoft.com (Mike Stefanik)
Newsgroups: comp.unix.shell,comp.unix.questions
Subject: Re: Shell Scripts vs. C programs
Keywords: shell script, C
Date: 5 Sep 92 22:38:29 GMT
Followup-To: comp.unix.shell
Organization: Pacific Software Group, Riverside, Ca.

In an article, sweh@spuddy.uucp (Stephen Harris) writes:
>[...]
>Heck!  On this machine the C compiler would barf on its own include files!
>#include <machine.h>
>That one line program through up tonnes of cpp errors.  Blugh.

What, pray tell, are you talking about?  Of *course* this is going to
choke up blood ... for one, a machine dependent include file probably
requires that you include <sys/types.h> among others.  What sort of
errors was cpp returning?

Regardless, dismissing C in general because one vendor's compiler may (or
may not) have broken header files is poor logic indeed.
-- 
Mike Stefanik  mike@pacsoft.com  ...!uunet!pacsoft!mike
Pacific Software Group, Riverside, CA
From: reb@punch.EBay.Sun.COM (Bob Brown)
Newsgroups: comp.unix.shell
Subject: Looking for awk/sed/shell to C converter
Date: 13 Sep 92 14:10:34
Organization: Systar Technologies, Inc.
Distribution: comp.unix.shell
NNTP-Posting-Host: punch.ebay.sun.com



The Subject says it all!


--
--Bob
Systar Technologies, Inc.		   Sun: robert.brown@EBay.Sun.COM
1712 Picasso Avenue, #B & #C            Office: reb@systar.com
Davis, California  95616		 Phone: (916) 753 - 2611
Newsgroups: comp.unix.shell
From: hodgen@infko.uni-koblenz.de
Subject: Re: Any known bugs for tcsh (6.02)
Followup-To: comp.unix.shell
Organization: Uni Koblenz, Germany.
Date: Thu, 10 Sep 1992 08:40:23 GMT

In article <BuBF19.ADH@ef2007.efhd.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
>In article <smr.716033030@hitkw14> smr@hitkw14.pki-nbg.philips.de
>(S.Riehm) writes:
>
>:I have compiled up tcsh6.02 on hpux, and on our system we have a
>
>What version of HP-UX?  What architecture?
>
>:When tcsh is started, you will sometimes receive the message:
>:	    setpgid:Warning: no access to tty (Not owner).  Thus no job
>:	    control in this shell.
>
>I ran into this problem periodically with tcsh 6.00.0? under HP-UX 7.0?
>on a PA-RISC HP 9000/7?0.  Understand, the "?"s indicate that this was
>awhile back.  :)  I have, to date, encountered no such problems with
>HP-UX 8.07 running tcsh 6.02 on an HP 9000/7[3-5]0.

I had exactly the same problem compiling for a DG Aviion 200. The cure is to
use the systems malloc routines and not those that come with TCSH. There's an
option in one of the config files.

Hope this helps.
-- 
Wayne Hodgen  | hodgen@infko.uucp       | All Opinions (c) Me 1991   | Intel SX
Uni Koblenz,  | (..!unido!infko!hodgen) | Keeper of the Scrolls,     |  Just
Rheinau 3-4,  | Voice: +49 261 9119-645 | Guardian of the Mysteries, |   say
5400 Koblenz. | Fax:   +49 261 37524    | His name is "root".        |    NO!!!
Newsgroups: comp.unix.shell,comp.unix.questions
From: martin@datacomm.ucc.okstate.edu (Martin McCormick)
Subject: Re: Shell Scripts vs. C programs
Keywords: shell script, C
Organization: Oklahoma State University, Stillwater, OK
Date: Sat, 5 Sep 1992 02:25:23 GMT


I have really been enjoying this thread.  There are some
really interesting philosophical points raised here that have
crossed my mind many times.  My background is not Computer
Science, but is a mixture of Journalism and Broadcasting plus
electronics.  I got into computers because they have such
potential to emulate discrete logic circuitry without as many
of the hassles one finds when trying to build logic-oriented
hardware.  Having been blind all my life, I also see the
potential of computers and programmable controllers for
providing a way to design all kinds of nifty devices that
solve various logistical problems associated with functioning
in a world where information and instrumentation are so
important.
     I am also lazy.  On PC's, when I want to do something in
a hurry, I try it in Basic.  If it works, I am apt to leave
it that way.  If it runs too slowly, I might be inclined to
try Pascal or C since a good compiler will assemble code that
runs much faster than the Basic interpreter can ever hope to
run.  In unix, I feel the same way about shell scripts.  They
are quick to write but slow to run.  Most of the time, who
cares?  I know I must continue to learn C because of its
sophistication and because there are C compilers which
generate machine code for programmable controllers like the
Motorola 68hc11.
     I am just glad to know that there are others who like to
keep it simple, if possible.

Martin McCormick WB5AGZ   Stillwater, OK
O.S.U. Computer Center Data Communications Group
Newsgroups: comp.unix.shell
From: mjo@ef2007.efhd.ford.com (Mike O'Connor)
Subject: Re: jsh
X-Disclaimer: Not an official spokesperson for Ford OPEO
Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
Organization: International Affairs, Overseas Engineering, "Fordz"
Date: Tue, 8 Sep 1992 13:00:59 GMT

In article <1992Sep8.134739.1312@siesoft.co.uk> tomc@siesoft.co.uk writes:
:I was looking through a friends System V 4 system and found a shell (I think)
:called jsh. There was nothing about it in the man pages, so can somebody tell
:me what it is?

It's Bourne Shell with csh job control.  You may find more information
about it in the sh man page.

Don't waste your time with it -- use ksh if you want to go that route.

						...Mike
-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
From: ahern@sage.cc.purdue.edu (Sean Ahern)
Newsgroups: comp.unix.shell
Subject: Re: Simulating keyboard input in interactive programs
Date: 12 Sep 92 20:55:06 GMT
Organization: Purdue University

In <1992Sep11.142202.11116@Princeton.EDU> subbarao@tex.Princeton.EDU (Kartik Subbarao) writes:

>In article <joslin.716216242@c0223.ae.ge.com> joslin_paul@ae.ge.com writes:
>> <Stuff deleted>
>>Second, have you tried something like
>>
>>while :
>>do
>>	sleep 3600
>>	echo "ls" > `tty`
>>done
>>
>>where `tty` returns the tty device your shell is using.

>                 <stuff deleted>
>Redirecting the output of echo to your tty simply writes the text 'ls' on
>your terminal. Just as if you said "echo thousandlineslong" > `tty`. It
>does NOT write to the input buffer of the tty. To do so, you can use the 
>TIOCSTI ioctl if you have it.

Using the command echo `ls` > `tty` might work, but again, does not solve
the basic problem that was addressed.

Just my 0.01 lira worth.
-- 
Sean Ahern------------------ahern@cs.purdue.edu----------------Purdue University
Beware of low-flying butterflies.
From: palmerp@math.orst.edu (Paul A Palmer)
Newsgroups: comp.unix.shell
Subject: Re: zork shell
Date: 11 Sep 92 21:57:15 GMT
	<laqbkuINN34i@jethro.Corp.Sun.COM>
Reply-To: Paul Palmer <palmerp@math.orst.edu>
Organization: Dept. of Math, Oregon State University

In article <laqbkuINN34i@jethro.Corp.Sun.COM> Eric.Arnold@Sun.COM (Eric arnold) writes:

   In article 2003@drycas.club.cc.cmu.edu, naraht@drycas.club.cc.cmu.edu (Randolph J. Finder) writes:
   >Can anyone tell me where I can download zork shell (zsh)?

   I've gotten versions from either "cs.ucsd.edu" or "ftp.cs.uow.edu.au".


Does the "z" in zsh really stand for "zork"? If so, why?

When I read the original post, I thought he meant something like the 
Adventure Shell. 


--
Paul Palmer
Department of Mathematics     	E-mail: palmerp@math.orst.edu
Kidder Hall 368
Oregon State University, Corvallis, Oregon 97331-4605
From: sweh@spuddy.uucp (Stephen Harris)
Newsgroups: comp.unix.shell
Subject: Re: Shell Scripts vs. C programs
Keywords: shell script, C
Date: 6 Sep 92 22:17:11 GMT
Organization: Spuddy's Public Usenet Domain

In article <1382@pacsoft.com> mike@pacsoft.com (Mike Stefanik) writes:
>In an article, sweh@spuddy.uucp (Stephen Harris) writes:
>>#include <machine.h>
>>That one line program through up tonnes of cpp errors.  Blugh.
>
>What, pray tell, are you talking about?  Of *course* this is going to
>choke up blood ... for one, a machine dependent include file probably
>requires that you include <sys/types.h> among others.  What sort of
>errors was cpp returning?

Basically *any* program that included this file gave cpp errors and failed to
compile.  And lots of programs seemed to try and include this file.
The errors were something to do with syntax errors on the #ifdef lines.
It didn't understand its own definitions and the tests to determine what
machine we were compiling on failed miserably.  This file was the biggest
problem, but other files had errors.

>Regardless, dismissing C in general because one vendor's compiler may (or
>may not) have broken header files is poor logic indeed.

Not in my case.  I had to write portable code that had to run on Sun, Altos
and Convergent.  It made a lot more sense to kludge ksh into running on this
machine and then working in a known "correct" environment.

Since then I have found myself creating programs a lot quicker (not quick hacks
but small programs intended for permanent use) that perform adequately well.

Even though the Altos (a real *old* model) has now been relegated to running
a bought package, I still use ksh for its speed of developement.
-- 
                               Stephen Harris
               sweh@spuddy.uucp    ...!uknet!axion!spuddy!sweh

 * Meeeeow ! Call Spud the Cat on > +44 203 638780 < for free Usenet access *
From: Eric.Arnold@Sun.COM (Eric arnold)
Newsgroups: comp.unix.shell
Subject: Re: zork shell
Date: 8 Sep 1992 22:52:14 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: Eric.Arnold@Sun.COM
NNTP-Posting-Host: animus.corp.sun.com

In article 2003@drycas.club.cc.cmu.edu, naraht@drycas.club.cc.cmu.edu (Randolph J. Finder) writes:
>Can anyone tell me where I can download zork shell (zsh)?
>
>


I've gotten versions from either "cs.ucsd.edu" or "ftp.cs.uow.edu.au".

-Eric
Eric.Arnold@Sun.COM
From: eric@animus.Corp.Sun.COM (Eric arnold)
Newsgroups: comp.unix.shell
Subject: Re: Shell types (May be FAQ)
Date: 15 Sep 92 22:18:19 GMT
Reply-To: eric@animus.Corp.Sun.COM
Organization: Sun Microsystems, Inc.
NNTP-Posting-Host: animus.corp.sun.com


In article 5947@muppet.bt.co.uk, carlj@muppet.bt.co.uk (Carl Johnson) writes:
>
>In article laqdhjINN34i@jethro.Corp.Sun.COM, Eric.Arnold@Sun.COM (Eric arnold) writes:
>=I don't know about an FAQ posting, but I'll spout my oppinion.  After
>=trying all of those above, I settled on the "zsh".  I was looking for:
>
><Lots of nice things about zsh>
>
>I dont want to start a flame war here but this sounds very similar to tcsh,
>why did you choose zsh over it in particular?

Primarily because "zsh" uses the Bourne shell language, which is much
better, IMHO+=(others && /etc/*).  "tcsh" is nice, and I almost
stayed with it, but it uses the evil "csh" syntax (quoting hell, lame
io redirection, etc.).

-Eric
From: tmhoff@oogoody.Corp.Sun.COM (Todd Hoff)
Newsgroups: comp.unix.shell
Subject: seding with variables and /s question
Date: 12 Sep 1992 22:01:33 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: tmhoff@oogoody.Corp.Sun.COM
NNTP-Posting-Host: oogoody.corp.sun.com


I'm having a hard time using variables to specify search patterns containind /s
in sed. Say my home development directory path is in $DEVEL and my destination
path is in $DEST. Since these are path specifications they contain /s and when
I do something like: sed -e 's/$DEVEL/$DEST/' $file > $destfile
sed barfs on the /s. I've tried lots of variations. Any clues?

Thanx