Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bas080/flush

Format shell scripts
https://github.com/bas080/flush

bash formatting

Last synced: 21 days ago
JSON representation

Format shell scripts

Awesome Lists containing this project

README

        

#!/usr/bin/env barkdown

# Flush

> Formatter / beatifier for your shell scripts.

This is an answer to a [Stackoverflow][1] question.

## Usage

Stdin your bash script into the flush process. It will then stdout the
formatted version of the script.

```bash
$ ./flush < flush
```

> Notice that it does strip the comments.

## Installation

Place the `flush` file in a directory that is on your PATH and make it
executable.

[1]:https://stackoverflow.com/questions/12046886/code-formatter-beautifier-for-bash-in-command-line