Skip to content
/ mksh Public

Generates a bash script from a standard template with some basic functions.

License

Notifications You must be signed in to change notification settings

0d-gg/mksh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mksh

Generates a bash script from a standard template with some basic functions.

Just copy mksh and templ.txt to a folder in your $PATH.

Features:

  • a "main" function at the top of your script where you can define functions below.
  • 8 bit color support
  • built-in functions for printing informational, warning, and error messages. As well as a standard for user input prompts.
  • sample option parsing
  • standardized documentation comment at the top of the script

Example:

pmood@server:~/test$ mksh
[?] What's the name of the script? TestScript
[?] Who made it? pmood
[?] What does it do? Test
[-] Created /home/pmood/test/TestScript.
[-] There. It's done.
pmood@server:~/test$ ./TestScript
[~] Function not yet implemented.

About

Generates a bash script from a standard template with some basic functions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages