Thread View: comp.bugs.sys5
12 messages
12 total messages
Started by Jim Washer
Sat, 25 Feb 1989 05:15
SVr3 csh
Author: Jim Washer
Date: Sat, 25 Feb 1989 05:15
Date: Sat, 25 Feb 1989 05:15
18 lines
842 bytes
842 bytes
How come a tilde '~' causes braces '{}' to be interpreted differently
on SVr3 csh? example:
command 1 > echo ~
/usr/your_name_here
command 2 > echo {}
{}
command 3 > echo ~ {}
/usr/your_name_here
What happens to the braces on lines that contain tilde. This really messes up
commands like 'find ~ -exec your favorite command {} \; -print'
thank,
jim
James Washer
North West Software Enterprises
uunet!lll-winken!nwse!washer
Re: SVr3 csh
Author: Doug Gwyn
Date: Sat, 25 Feb 1989 08:02
Date: Sat, 25 Feb 1989 08:02
7 lines
794 bytes
794 bytes
In article <20912@lll-winken.LLNL.GOV> washer@lll-winken.LLNL.GOV (Jim Washer) writes:
>How come a tilde '~' causes braces '{}' to be interpreted differently
>on SVr3 csh?
Since csh is not supplied as part of UNIX System V Release 3,
yours must have been provided as an "add-on" by your system vendor
or perhaps your local computing staff. Why not ask them instead?
Re: SVr3 csh
Author: Richard Stevens
Date: Sat, 25 Feb 1989 20:53
Date: Sat, 25 Feb 1989 20:53
14 lines
977 bytes
977 bytes
In article <9711@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes:
> Since csh is not supplied as part of UNIX System V Release 3,
I got the C shell with SVR3.2 *directly* from AT&T and it's severly
brain damaged. Doesn't even have pushd/popd. Someone told me
AT&T picked it up from an old PDP-11 distribution and has never
upgraded it. On my 3b1, AT&T at least gave me the Korn shell
when I bought all their software, but they don't do that with
SVR3.2/386.
Richard Stevens
Health Systems International, New Haven, CT
stevens@hsi.com
... { uunet | yale } ! hsi ! stevens
Re: SVr3 csh
Author: Steve Alexander
Date: Sat, 25 Feb 1989 21:56
Date: Sat, 25 Feb 1989 21:56
10 lines
965 bytes
965 bytes
In article <9711@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes: >Since csh is not supplied as part of UNIX System V Release 3, System V/386 Release 3.2 contains csh, and it is indeed broken, or at least it behaves differently than every other csh I could find around here. I use ksh, so I'm not prepared to comment on what the correct behavior should be. -- Steve Alexander, TCP/IP Development | stevea%laidbak@sun.com Lachman Associates, Inc. | ...!sun!laidbak!stevea
Re: SVr3 csh
Author: Guy Harris
Date: Sun, 26 Feb 1989 01:28
Date: Sun, 26 Feb 1989 01:28
12 lines
929 bytes
929 bytes
>I got the C shell with SVR3.2 *directly* from AT&T and it's severly >brain damaged. Doesn't even have pushd/popd. Someone told me >AT&T picked it up from an old PDP-11 distribution and has never >upgraded it. Could be; a number of other systems seem to have done the same thing. Jeez, the 4.3BSD version one is certainly available to anybody with a UNIX source license; I don't see why they're sticking with a crufty old version. S5R4 will have both the Korn and C shells; the latter will almost certainly be based on a 4.3BSD-or-better version.
Re: SVr3 csh
Author: Doug Gwyn
Date: Sun, 26 Feb 1989 01:49
Date: Sun, 26 Feb 1989 01:49
12 lines
1136 bytes
1136 bytes
In article <313@hsi86.hsi.UUCP> stevens@hsi.UUCP (Richard Stevens) writes: -In article <9711@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: -> Since csh is not supplied as part of UNIX System V Release 3, -I got the C shell with SVR3.2 *directly* from AT&T and it's severly -brain damaged. ... On my 3b1, AT&T at least gave me the Korn shell -when I bought all their software, but they don't do that with -SVR3.2/386. Thanks for this information, which is news to me. I thought AT&T was supplying the Korn shell but not csh. I note that csh is supposed to be included with SVR4.0, alas. One hopes that it would be essentially the 4.3BSD version and not some antique..
Re: SVr3 csh
Author: Ralph Barker
Date: Sun, 26 Feb 1989 18:07
Date: Sun, 26 Feb 1989 18:07
15 lines
1150 bytes
1150 bytes
In article <313@hsi86.hsi.UUCP>, stevens@hsi.UUCP (Richard Stevens) writes:
> In article <9711@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes:
> > Since csh is not supplied as part of UNIX System V Release 3,
>
> upgraded it. On my 3b1, AT&T at least gave me the Korn shell
> when I bought all their software, but they don't do that with
> SVR3.2/386.
>
ksh, along with several data format conversion programs, is included
in the "ISV Toolkit".
--
Ralph Barker, RALMAR Business Systems, 640 So Winchester Blvd, San Jose,CA 95128
uucp: ...{pyramid, sun, uunet}!amdahl!unixprt!ralmar!ralph
or, attmail!ralmar!ralph Voice: (408) 248-8649
Re: SVr3 csh
Author: Leslie Mikesell
Date: Sun, 26 Feb 1989 23:51
Date: Sun, 26 Feb 1989 23:51
9 lines
908 bytes
908 bytes
In article <9711@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes: >Since csh is not supplied as part of UNIX System V Release 3, >yours must have been provided as an "add-on" by your system vendor >or perhaps your local computing staff. Why not ask them instead? Doesn't an add-on provided by AT&T become a part of unix, or does the Xenix/SysV compatibility hype only apply to '386 unix. Les Mikesell
Re: SVr3 csh
Author: Rob Frye
Date: Mon, 27 Feb 1989 14:05
Date: Mon, 27 Feb 1989 14:05
22 lines
1335 bytes
1335 bytes
In article <313@hsi86.hsi.UUCP> stevens@hsi.UUCP (Richard Stevens) writes:
>I got the C shell with SVR3.2 *directly* from AT&T and it's severly
>brain damaged. Doesn't even have pushd/popd. Someone told me
SCO Xenix csh doesn't have pushd/popd "internally", but their standard
".cshrc" has an easy set of macro aliases that do (almost) the same thing.
I've expanded them slightly:
if (! $?_d) set _d = ()
alias popd 'cd $_d[1]; echo ${_d[1]}:; shift _d'
alias pushd 'set _d = (`pwd` $_d); cd \!*'
alias swapd 'set _d = ($_d[2] $_d[1] $_d[3-])'
alias flipd 'pushd .; swapd ; popd'
alias fd 'flipd'
alias sd 'echo $_d'
alias cleard 'set _d = ()'
endif
--
Rob Frye
NetExpress Communications, Inc. Phone: (703)749-2234
1953 Gallows Road, Suite 300 uucp: uunet!netxcom!rfrye
Vienna, VA 22180
Re: SVr3 csh
Author: Bob Toxen
Date: Mon, 27 Mar 1989 03:41
Date: Mon, 27 Mar 1989 03:41
7 lines
666 bytes
666 bytes
GACK! Get a copy of BSD 4.1A CSH. It ports easily to System V, etc.
There are billions of copies floating around.
--
Bob Toxen {ucbvax!harvard,cloud9!es}!anvil!cavu!bob
Stratus Computer, Marlboro, MA
Re: SVr3 csh
Author: Scott Barman
Date: Mon, 27 Mar 1989 20:36
Date: Mon, 27 Mar 1989 20:36
12 lines
1040 bytes
1040 bytes
In article <4551@cloud9.Stratus.COM> bob@cloud9.Stratus.COM (Bob Toxen) writes:
>GACK! Get a copy of BSD 4.1A CSH. It ports easily to System V, etc.
>There are billions of copies floating around.
Then could you please tell me how to do it? I wrestled with it for three
days (three days longer than I wanted to) and still couldn't get it because
it contains signals that are not part of SV and jobs control that are
not easily seperable (unless I missed something :-)).
--
scott barman
{gatech, emory}!dtscp1!scott
Re: SVr3 csh
Author: Brandon S. Allbery
Date: Sat, 01 Apr 1989 17:56
Date: Sat, 01 Apr 1989 17:56
16 lines
1315 bytes
1315 bytes
As quoted from <4551@cloud9.Stratus.COM> by bob@cloud9.Stratus.COM (Bob Toxen):
+---------------
| GACK! Get a copy of BSD 4.1A CSH. It ports easily to System V, etc.
| There are billions of copies floating around.
+---------------
There may well be "billions of copies floating around" -- but there aren't
so many AT&T source licenses floating around in the same price range; and BSD
csh is based on the V6 Mashey shell, I believe.
++Brandon
--
Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org
uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu
Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads