ircyrano

reenact cyrano de bergerac on an IRC server
git clone https://a3nm.net/git/ircyrano/
Log | Files | Refs | README

mkscript.sh (180B)


      1 #!/bin/bash
      2 
      3 # generate a script
      4 
      5 sed -u \
      6   's!ER \([^/]*\)$!ER /me \1!' |
      7   sed -u 's!^\([^>]*\) \/join.*$!&\nER /mode +v \1!' |
      8   sed -u 's!^\([^ ]*\) \(.*\)!\1 [#cyrano] \2!'
      9