GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - invasy/bash-lib: Bash scripting library

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
docs
docs
 
 
lib
lib
 
 
test
test
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 
lib.bash
lib.bash
 
 

Repository files navigation

Bash Scripting Library

Prerequisites

  • Bash (GNU Bourne again shell), version >= 4.0
  • coreutils

Shell Parameters

  • $BASH_LIB — path to Bash library directory

Return Codes

  • 1 — current shell is not Bash.
  • 2 — Bash version is not supported (less than 4.0).
  • 3 — package coreutils is not installed.
  • 255 — Bash lib was not initialized.

Naming Convention

  • _<lib>_<name> — private variables.
  • _<lib>::<name> — private functions.
  • _<lib>::init — library initialization.

Links

  • GNU Bash Manual
  • Advanced Bash-Scripting Guide
  • Bash Hackers Wiki
  • Google Shell Style Guide

About

Bash scripting library

Topics

bashbash-librarybash-scripting

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.