Jump to content

Shell script: Difference between revisions

From EDM2
mNo edit summary
No edit summary
Line 1: Line 1:
A shell script is [[UNIX]] terminology for a [[batch file]], it is usually used on OS/2 to mean an 7 bit [[ASCII]] or less commonly 8 bit ISO plain text file with an ".sh" ending, that has  a list of commands intended for batch execution in one of the UNIX derived shells, such as [[bash]] or [[bourne]] shells.
A shell script is [[UNIX]] terminology for a [[batch file]], it is usually used on OS/2 to mean an 7 bit [[ASCII]] or less commonly 8 bit ISO plain text file with an ".sh" ending, that has  a list of commands intended for batch execution in one of the UNIX derived shells, such as the [[C Shell]] (Csh), [[bash]] or [[bourne]] shells.


A shell by the way is UNIX terminology for a command line interface (CLI).
A shell by the way is UNIX terminology for a command line interface (CLI).
Line 7: Line 7:
====OS/2 text & programmers editors with .sh support====
====OS/2 text & programmers editors with .sh support====
* [[Elvis]] - Shell script syntax support included by default - Open source - Current
* [[Elvis]] - Shell script syntax support included by default - Open source - Current
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting.


====DOS text & programmers editors with .sh support====
====DOS text & programmers editors with .sh support====

Revision as of 00:52, 26 January 2016

A shell script is UNIX terminology for a batch file, it is usually used on OS/2 to mean an 7 bit ASCII or less commonly 8 bit ISO plain text file with an ".sh" ending, that has a list of commands intended for batch execution in one of the UNIX derived shells, such as the C Shell (Csh), bash or bourne shells.

A shell by the way is UNIX terminology for a command line interface (CLI).

Note that while there is a high degree of commonality between shell scripts for the various UNIX or UNIX like CLI's and it is a good rule to try to write such scripts using only commands that all shells support, you will always encounter scripts from time to time that are tied to a specific shell implementation, either by use of commands not universally supported or by the use of environment variables that behave differently between different shell implementations.

OS/2 text & programmers editors with .sh support

  • Elvis - Shell script syntax support included by default - Open source - Current
  • NEdit - XFree86 - Autoindent, autocomplete and syntax highlighting.

DOS text & programmers editors with .sh support

  • Elvis - Shell script syntax support included by default - Open source - Current