Upgrade to Pro — share decks privately, control downloads, hide ads and more …

札幌でテンプレート #hokkaidopm

OGATA Tetsuji
September 19, 2012

札幌でテンプレート #hokkaidopm

2012/09/19 に Hokkaido.pm Casual#5 で発表したスライドです。

OGATA Tetsuji

September 19, 2012
Tweet

More Decks by OGATA Tetsuji

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ඌܗ మ࣍ (OGATA Tetsuji) • Twitter: @xtetsuji •

    Blog: http://post.tetsuji.jp/ • ಘҙٕ: mod_perl • Perlྺ9೥͚ͩͲ஌͕ࣝภ͍ͬͯΔͷͰɺ ࠓʹͳͬͯ৭ʑษڧ͍ͯ͠·͢ʼʻ
  2. ࣗݾ঺հ • Hokkaido.pmʹ͸ɺ#5͔Βຖճ(#7·Ͱ)ग़੮ • Hokkaido.pm Casual ͸ࠓճ #5 ͕ॳࢀՃ •

    େֶ(1997೥)͔Β্ژɺब৬ޙ΋ͣͬͱ౦ ژ • ࣮Ո͕ଳ޿Ͱࠓճؼল͍ͭͰʹدΓ·ͨ͠ • Hokkaido.pm ͸ࢲͷނڷͰ͢ʂ
  3. m4

  4. m4 # Ծ૝తͳઃఆϑΝΠϧ - some.conf.m4 hostname: __HOSTNAME__ username: someuser #

    ...ҎԼུ #!/bin/bash for hostname in sv{01..99} ; do m4 -D __HOSTNAME__=$hostname \ some.conf.m4 > some.conf.$hostname done