Giter Site home page Giter Site logo

sh_functions's Introduction

This repository contains some files which are to be sourced by bash. The
files contained are:

 1. my_dash_functions: This file used to contain some functions which were
    used in some dash (POSIX) scripts I had. Currently, it simply contains
    some functions that are not used in most of my scripts. It is sourced
    by my_bash_functions.

 2. my_bash_functions: This file contains some bash functions which are
    almost always used in my bash scripts. The important functions are:
    
    centered_output: This outputs some text centered on the terminal. If
    the text is greater than the terminal width, then it simply prints the
    text.
    
    run_loop: This outputs the text with a counter. The counter can go
    either up or down. The text should ideally be short enough to fit
    within the terminal width.

    show_progress: This function outputs a nice progress bar to the
    terminal. It accepts two lines at each increment of the progress bar.
    The first line should be any status message, and the second line
    a ratio given in the form count/total.

 3. my_read_files: This file provides several different interactive bash
    prompts which acts like a file browser or directory browser. There are
    three different such prompts possible.

sh_functions's People

Contributors

ppurka avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.