Bourne shell - CompWisdom
About us  |  Why use us?  |  Press  |  Contact us

 

Topic: Bourne shell


  
 Bourne shell - Wikipedia, the free encyclopedia
The binary program of the Bourne shell or a compatible program is located at /bin/sh on most Unix systems.
It was developed by Stephen Bourne, of ATandT Bell Laboratories, and was released in 1977 in the Version 7 UNIX release distributed to colleges and universities.
As the shell was never versioned, the only way to identify it was testing its features.
http://en.wikipedia.org/wiki/Bourne_shell   (593 words)

  
 Chapter 2: Unix Shells
Although the C-Shell (csh) serves as the default Unix shell in the MMM computing environment, the Bourne shell (sh) and the T C-Shell (tcsh) are also available.
The following shell script is designed to make a copy of all files with the.f extension, and to give the new files the same names as the originals, but with.sav appended at the end.
The tcsh shell is the default when you log on to a Linux Intel system.
http://www.mmm.ucar.edu/computing/doc/guide/ch_2.html   (2510 words)

  
 Bash Reference Manual:
Shells may be used interactively or non-interactively: they accept input typed from the keyboard or from a file.
More complex shell commands are composed of simple commands arranged together in a variety of ways: in a pipeline in which the output of one command becomes the input of a second, in a loop or conditional construct, or in some other grouping.
All of the Bourne shell builtin commands are available in Bash, and the rules for evaluation and quoting are taken from the POSIX 1003.2 specification for the `standard' Unix shell.
http://www.gnu.org/software/bash/manual/bashref.html#SEC1   (7331 words)

  
 Bash - Wikipedia, the free encyclopedia
The only Unix command shells capable of this are Korn Shell (1993 version) and zsh (starting at version 4.0).
Bash is a Unix command shell written for the GNU project.
The exit status of the above command is 0 if the regex matches the string, 1 if it does not match.
http://en.wikipedia.org/wiki/Bourne-Again_shell   (1347 words)

  
 Bourne Shell Scripting
The bourne shell (/bin/sh) is both the command interpreter and the basic programming language on UNIX systems.
Shells that are implemented with such programs in mind will behave right, but by explicitly using the
There are shells where this still goes wrong, ignoring the fact that we already uglified our code behind recognition for the shell's hail.
http://www3.cons.org/cracauer/bourneshell.html   (4013 words)

  
 Csh Programming Considered Harmful
Lack of proficiency in the Bourne shell has been known to cause errors in /etc/rc and.cronrc files, which is a problem, because you *must* write these files in that language.
In the Bourne shell, this VAR=foo cmds args is the same as (export VAR; VAR=foo; cmd args) or csh's (setenv VAR; cmd args) You can't use :t, :h, etc on envariables.
In the Bourne shell, you might say: echo "$0: cannot find $file" 1>and2 but in the csh, you can't redirect stdout out stderr, so you end up doing something silly like this: sh -c 'echo "$0: cannot find $file" 1>and2' 1b.
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot   (2440 words)

  
 UNIX shell differences and how to change your shell (Monthly Posting)
Further information The Bourne shell, the C-Shell and the Korn Shell (if you have it) are all distributed as standard with your UNIX operating system, information on these should come with your operating system, bug reports etc should be sent to your operating system vendor.
It had (and still does) a very strong powerful syntactical language built into it, with all the features that are commonly considered to produce structured programs; it has particularly strong provisions for controlling input and output and in its expression matching facilities.
There is no point in using a shell with a different syntax, or a completly different alias system if you havn't the time to learn it.
http://www.faqs.org/faqs/unix-faq/shell/shell-differences   (2225 words)

  
 Bourne shell programming
The shell also provides you with a programming environment with features similar to those of a high level programming languages.
http://www.mcsr.olemiss.edu/unixhelp/scrpt/scrpt2.html   (20 words)

  
 bourne shell
The restricted shell works the same as the Bourne shell, except the user is not allowed to change directories, set the value of the path or shell environment variables, specify a path or command containing the '/' character, or redirect output.
The Bourne shell lets you create and assign values to system environment variables as well as user defined variables.
The Bourne shell is an interactive command interpreter and command programming language.
http://www.apl.jhu.edu/Misc/Unix-info/shells/bourne.html   (2099 words)

  
 sh, resh, ksh, bash -- POSIX-compliant (Korn/Bourne-Again) shell and command interpreter
The shell reads from the standard input and feeds that as input to file descriptor number until it finds a line that exactly matches the given name.
A subshell environment starts as a duplicate of the shell environment, except that traps caught by the shell are set to default values in the subshell.
Shell utilities also run in a separate environment which does not affect the shell environment, except for certain built-in utilities (for example,
http://www.mkssoftware.com/docs/man1/sh.1.asp   (7994 words)

  
 [No title]
-.SH -3.7\ Command\ execution -.LP -To run a command (other than a built-in) the shell first creates -a new process using the system call \fIfork.\fP -The execution environment for the command -includes input, output and the states of signals, and -is established in the child process -before the command is executed.
The scan command -.ft -.sp -\fIread x\fR is a built-in command that reads one line from the -standard input -and places the result in the variable \fBx\.\fP -It returns a non-zero exit status if either -an end-of-file is read or an interrupt -is received.
-Firstly, the default standard input -for such a command is the empty file \fB/dev/null\.\fR -This prevents two processes (the shell and the command), -which are running in parallel, from trying to -read the same input.
http://cm.bell-labs.com/7thEdMan/vol2/shell.bun   (2752 words)

  
 How to write a shell script
Shell scripts are simple text files created with an editor.
The second form is useful for configuration files where environment variable are set for the script.
Press here to return to the General Unix Software Menu.
http://vertigo.hsrl.rutgers.edu/ug/shell_help.html   (1857 words)

  
 Bourne Shell Tutorial
A shell allows you to easily create a new program that is not a "second-class citizen," but instead is a program with all of the privileges of any other UNIX program.
Also the C shell command to read a single line only reads from the controlling terminal, and cannot be redirected to get input from a file, or a pipe, while the Bourne shell can.
A shell is a full featured programming language, with variables, conditional statements, and the ability to execute other programs.
http://www.grymoire.com/Unix/Sh.html   (16476 words)

  
 UNIX Shell Programming
I quickly wrote a shell script that uses /bin/tar to create an archive of the entire subdirectory and then copy it to one of our backup systems at my computer center and store it under a subdirectory named according to today's date.
Shell scripting involves chaining several UNIX commands together to accomplish a task.
Cut and paste this line into a Bourne shell and you should see a column of file sizes, one per file in your current directory.
http://research.imb.uq.edu.au/~ksteube/Bshell   (4286 words)

  
 Bourne / Bash Issue 25
One of the first shell scripts I wanted was something that would change a directory full of files which were all in capital letters to lowercase.
Sooner or later every UNIX user has a use for a shell script.
The second problem is slightly more difficult in that we need to know how many arguments the user has input.
http://www.linuxgazette.com/issue25/dearman.html   (1508 words)

  
 Unix Shells - csh, ksh, bash, zsh, ...
This shell, written by David Korn, of Bell Labs, is now the defacto-standard shell for Unix systems, available on virtually any Unix-like system sold in the 1990's and beyond.
If your needs aren't that abstruse, then even relatively advanced script programmers should be able to learn a few things from the book...
shell written, configured, and operated entirely in Perl.
http://cbbrowne.com/info/unixshells.html   (761 words)

  
 The Heirloom Bourne Shell
The Bourne shell does not provide as many features as newer Unix shells, but it is nevertheless a highly usable scripting language.
Some historical scripts did make use of language features proprietary to the Bourne shell.
It has been derived from OpenSolaris code and thus implements the SVR4/SVID3 level of the shell.
http://heirloom.sourceforge.net/sh.html   (423 words)

  
 Bourne shell - a Whatis.com definition
Norman Matloff, from the Computer Science department at the University of California at Davis, provides a user-friendly exploration of UNIX, including the popular shells in Norm Matloff's Unix Tutorial Center.
Falstad intended to create in zsh a shell that would do whatever a programmer might reasonably hope it would do.
The Bourne shell is the original Unix shell (command execution program, often called a command interpreter) that was developed at AT&T. Named for its developer, Stephen Bourne, the Bourne shell is also known by its program name, sh.
http://whatis.techtarget.com/definition/0,,sid9_gci214635,00.html   (347 words)

  
 Bourne Shell
It is the only shell that you can be sure will be on any Unix system.
Read and execute commands from executable file filename
The Bourne shell is the original Unix shell.
http://sunsite.utk.edu/UNIX-help/sh.html   (194 words)

  
 Bourne shell
The Bourne shell is executed at the Linux or UNIX prompt by running the bsh or sh command.
The Bourne shell was first developed by Steven Bourne at ATandT and is commonly using for scripting.
Were you able to locate the answer to your questions?
http://www.computerhope.com/jargon/b/bourne.htm   (45 words)

  
 Bourne Shell
But it's not just the shell that uses Algol-68 syntax, its source code does too.
The Bourne shell has a syntax consciously modeled on Algol-68 syntax (e.g.
The author went crazy with deeply nested macros to do all sorts of numeric operations: cross products, affine transforms, etc. In the end, the code was probably not any faster than what a decent compiler would generate and it was nearly impossible to debug the generated code
http://www.bobcongdon.net/blog/2004/09/bourne-shell.html   (195 words)

  
 BASH - GNU Project - Free Software Foundation (FSF)
BASH - GNU Project - Free Software Foundation (FSF)
Bash is the shell, or command language interpreter, that will appear in the GNU operating system.
It offers functional improvements over sh for both programming and interactive use.
http://www.gnu.org/software/bash/bash.html   (196 words)

  
 Bourne Shell Programming
Hence, it is important to let Unix know which program will be interpreting the script.
Unlike some other operating systems, Unix allows any program to be used as a script interpreter.
One way in which functions differ from external scripts is that the shell does not spawn a subshell to execute them.
http://www.ooblick.com/text/sh   (4111 words)

  
 Bourne Again SHell (bash)
This is a public domain shell written by the Free Software Foundation under their GNU initiative.
Its programming language is compatible with the Bourne shell (sh).
If you use the Bourne shell (sh) for shell programming consider using bash as your complete shell environment.
http://theory.uwinnipeg.ca/UNIXhelp/shell/oview2.5.html   (86 words)

  
 Bourne Again SHell
Its programming language is compatible with the Bourne shell.
The Bourne Again SHell (bash) is a public domain shell written by the Free Software Foundation under their GNU initiative.
If you use the Bourne shell for shell programming you might consider using bash as your shell enviroment.
http://sunsite.utk.edu/UNIX-help/bash.html   (238 words)

  
 The GNU Bourne-Again Shell
For more information on the features of Bash that are new to this type of shell, see the reference manual.
Bash is the GNU Project's Bourne Again SHell, a complete implementation of the IEEE POSIX.2 and Open Group shell specification with interactive command line editing, job control on architectures that support it, csh-like features such as history substitution and brace expansion, and a slew of other features.
Bash is the standard shell on GNU/Linux systems.
http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html   (806 words)

  
 UNIX/Linux Bourne / Bash Shell Scripting Tutorial [ steve-parker.org ]
A Bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell.
All the content, available offline, no adverts, fully pagignated, and in a conveninent format to print.
Local mirror of Steve Bourne's Introduction to the Unix Shell - written by the great man himself.
http://steve-parker.org/sh/sh.shtml   (186 words)

Compwisdom
 About us   |  Why use us?   |  Press   |  Contact us

 Copyright © 2006 CompWisdom.com Usage implies agreement with terms.