Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple library to generate shell scripts from Ruby
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
grush.gemspec

README.md

grush

I DON'T EVEN REMEMBER WHY I MADE THIS, GOSH.

require 'grush'

Grush::Script.new {
  echo 'Hallo'

  (cat 'wat') | (sed 's/cat/dog/') > 'wat.dog'
}

That should generate this:

(echo 'Hallo')
((cat 'wat') | (sed 's/cat/dog/')) > 'wat.dog'

Sounds useless? Maybe, maybe not.

Something went wrong with that request. Please try again.