SYSV vs. BSD (Bourne shell)

SYSV vs. BSD (Bourne shell)

Post by Dean Brissing » Thu, 17 Aug 1995 04:00:00



        Does the BSD bourne shell support the "function" and "readonly"
ability?  I'd like to find a list of differances between the two, is
there one anywhere?

--

 
 
 

SYSV vs. BSD (Bourne shell)

Post by Soren Dayt » Fri, 18 Aug 1995 04:00:00




>    Does the BSD bourne shell support the "function" and "readonly"
>ability?  I'd like to find a list of differances between the two, is
>there one anywhere?

        On my SunOS 4.1.3_U1 I have a readonly builtin.  I am not sure
        what you mean by "function".  It supports function definition
        as:

name () {
        commands        

Quote:}

but not

function name {
        commands

Quote:}

Is that what you are referring to?

Soren

 
 
 

SYSV vs. BSD (Bourne shell)

Post by Donn Ca » Fri, 18 Aug 1995 04:00:00


| Does the BSD bourne shell support the "function"

No.

| and "readonly" ability?

Yes.

I assume we're not talking about the shell you get with current BSD
releases, but rather the shell that you get with BSD 4.2 derived systems
like Ultrix.

        Donn Cave, University Computing Services, University of Washington

 
 
 

1. Bourne shell BSD vs. SYSV

        Can anyone tell me this simple question:  Do all modern bourne
shells accross SYSV and BSD support the "\c, \n" escapes with 'echo'?
(and the various others as well) Trying to generalize Bourne scripting is
painful accross BSD and SYSV, if both support the escapes then I'm set
with 'echo'. :)
        Tricky part:  Does the path have to fit certian requirements for
the BSD shell as it does in the SYSV shell to support escapes and not "-n"?

--

                               Dean J. Brissinger

                                   ~` '~
                                    0 0
                                   --U----A--
                                         0 0
                                        `~ ~'

                   CEO and Founder of the Cybernated Scholars  
                                     ________________________l

2. Help!!!!!!!!

3. I want a teeny SysV Bourne Shell-compliant shell

4. linux ports to rs6K, HP PA-RISC?

5. Linux vs OS2 vs NT vs Win95 vs Multics vs PDP11 vs BSD geeks

6. DMA with ide disks and cdrom on Solaris 8?

7. Bourne Shell vs C-Shell

8. Termcap, and other questions

9. Light Speed Bourne Shell! (was: Bourne shell tricks)

10. Pushd, popd, dirs for stock SysV.3 Bourne shell

11. Read command in bourne shell vs. K shell

12. How to test for BSD-ness vs. SysV-ness

13. BSD inodes vs. SYSV inodes?