Created
April 29, 2009 21:07
-
-
Save nogweii/104054 to your computer and use it in GitHub Desktop.
Attempt at creating a shell-based templating system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [conf] | |
| foo = $(echo 'hi') | |
| [ready?] | |
| help = "$(gem)" | |
| [core] | |
| globalignore = /home/%n/.gitignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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