Skip to content

Instantly share code, notes, and snippets.

@akira093
Created March 9, 2014 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akira093/9444168 to your computer and use it in GitHub Desktop.
Save akira093/9444168 to your computer and use it in GitHub Desktop.
package main
import (
"flag"
"fmt"
"unicode/utf8"
)
func main() {
flag.Parse()
s := flag.Arg(0)
l := utf8.RuneCountInString(s)
out := "_人"
for i := 0; i < l; i++ {
out += "人"
}
out += "人_\n"
out += fmt.Sprintf("> %v <\n", s)
out += " ̄Y"
for i := 0; i < l+1; i++ {
out += "^Y"
}
out += " ̄\n"
fmt.Println(out)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment