Batch Scripting

MOC Programming

Created: 2022-06-21
Tags: #fleeting


Features:

  • Functions and Arrays. Also return values exists in functions
  • Regular Expressions
  • Can include other programming codes such as Perl.
  • Can read inputs from users
  • control structures such as for, if, while, switch

The “Standard In” file, known as stdin, contains the input to the program/script. The “Standard Out” file, known as stdout, is used to write output for display on the screen. Finally, the “Standard Err” file, known as stderr, contains any error messages for display on the screen.
Stdin is file 0, stdout is file 1, and stderr is file 2.

References