Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

andys/sherb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sherb:  a Unix Shell that supports ERB templates
------------------------------------------------

 
$ gem install 'sherb'

$ echo 'echo 1 + 1 = <%= 1 + 1 %>' | sherb
1 + 1 = 2



$ cat > test.sh.erb <<EOF
#!/usr/bin/env sherb
<% 3.times do %>
  echo Hello, world
<% end %>
EOF

$ chmod u+x ./test.sh.erb 

$ ./test.sh.erb
Hello, world
Hello, world
Hello, world

	

About

Unix Shell that supports ERB templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages