Skip to content

Instantly share code, notes, and snippets.

@nogweii
Created April 29, 2009 21:07
Show Gist options
  • Select an option

  • Save nogweii/104054 to your computer and use it in GitHub Desktop.

Select an option

Save nogweii/104054 to your computer and use it in GitHub Desktop.
Attempt at creating a shell-based templating system
[conf]
foo = hi
[ready?]
help = RubyGems is a sophisticated package manager for Ruby. This is a basic help message containing pointers to more information. Usage: gem -h/--help gem -v/--version gem command [arguments...] [options...] Examples: gem install rake gem list --local gem build package.gemspec gem help install Further help: gem help commands list all 'gem' commands gem help examples show some examples of usage gem help platforms show information about platforms gem help <COMMAND> show help on COMMAND (e.g. 'gem help install') Further information: http://rubygems.rubyforge.org
[core]
globalignore = /home/colin/.gitignore
[conf]
foo = $(echo 'hi')
[ready?]
help = "$(gem)"
[core]
globalignore = /home/%n/.gitignore
#!/bin/zsh
foo="$(print -bP "$(cat $1)")"
echo ${(e)foo}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment