Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go script:

  p := Exec("man bogus")
  p.SetError(nil)
  output, err := p.String()
  fmt.Println(output)
Shell script:

  man bogus
......I'm gonna stick with shell scripts.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: