Coder Social home page Coder Social logo

exxe's Introduction

exxe  -  Execute commands indirectly
====================================

A shell-like utility that executes arbitrary commands read from standard input
and reports the results of those commands on standard output.  Results include
what commands write to their standard output and standard error, and the exit
status or signal that the command terminates with.  The utility is meant for
relatively short-running commands that produce moderate amounts of output; it
is not useful for commands whose output is processed as a stream of data.

The exxe utility can be run locally or remotely (for example, over ssh); this
can be useful for testing and automation.

For example, the following input:

	< hello world!
	! tr a-z A-Z

will execute the tr command and pass it a line of input.  On success, the output
will be as follows:

	> HELLO WORLD!
	? 0

The exxe utility can be used in "client mode" to produce the appropriate input
for running a command, as well as for translating the output back into its
original form.  For example, the following command will produce the above
input:

	echo 'hello world!' | exxe -pi tr a-z A-Z

and the following two commands will both produce the same result:

	echo 'hello world!' | tr a-z A-Z

	echo 'hello world!' | exxe -pi tr a-z A-Z | exxe | exxe -o

See the test suite for more use cases.

exxe's People

Contributors

andreas-gruenbacher avatar chrboe avatar lge avatar philipp-reisner avatar phmarek avatar rck avatar

Watchers

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