GithubHelp home page GithubHelp logo

isabella232 / siphon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nanopack/siphon

0.0 0.0 0.0 38 KB

A simple output stream formatter

License: MIT License

Makefile 0.33% M4 1.52% C 89.54% Shell 3.51% Ruby 5.09%

siphon's Introduction

Build Status

Siphon

Siphon is an output stream formatter, used primarily as a means to prefix output from a program. Siphon can format data piped into it, or it can spawn a process and format that output. When siphon formats the output of an exec'd command, it sets up a PTY and resizes the terminal to accommodate the prefix.

Status

Complete/Stable

Usage:

siphon - output stream formatter

Usage: siphon [options] [--  <command to exec>]
       siphon -p '-> ' or --prefix '-> '
       siphon -h or --help

Examples:
       ls -lah / | siphon --prefix '-> '
       siphon --prefix '-> ' -- ls -lah /

Example

$ ls -lah | siphon --prefix '---> '
---> total 704
---> drwxr-xr-x  19 owner  group   646B Apr 26 13:41 .
---> drwxr-xr-x@ 58 owner  group   1.9K Apr 26 13:30 ..
---> -rw-r--r--   1 owner  group   133B Apr 26 13:31 .gitignore
---> -rw-r--r--   1 owner  group   1.1K Apr 26 17:28 LICENSE
---> -rw-r--r--   1 owner  group    23K Apr 26 13:41 Makefile
---> -rw-r--r--   1 owner  group    13B Apr 26 13:31 Makefile.am
---> -rw-r--r--   1 owner  group    23K Apr 26 13:41 Makefile.in
---> -rw-r--r--   1 owner  group   571B Apr 26 17:31 README.md
---> -rw-r--r--   1 owner  group    41K Apr 26 13:41 aclocal.m4
---> drwxr-xr-x   7 owner  group   238B Apr 26 13:41 autom4te.cache
---> -rwxr-xr-x   1 owner  group   7.2K Apr 26 13:41 compile
---> -rw-r--r--   1 owner  group   8.8K Apr 26 13:41 config.log
---> -rwxr-xr-x   1 owner  group    28K Apr 26 13:41 config.status
---> -rwxr-xr-x   1 owner  group   138K Apr 26 13:41 configure
---> -rw-r--r--   1 owner  group   408B Apr 26 13:35 configure.ac
---> -rwxr-xr-x   1 owner  group    23K Apr 26 13:41 depcomp
---> -rwxr-xr-x   1 owner  group    14K Apr 26 13:41 install-sh
---> -rwxr-xr-x   1 owner  group   6.7K Apr 26 13:41 missing
---> drwxr-xr-x   9 owner  group   306B Apr 26 17:30 src

License

The MIT License (MIT)

open source

siphon's People

Contributors

tylerflint 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.