Skip to content

Instantly share code, notes, and snippets.

@6LYTH3
Created June 9, 2011 13:17
Show Gist options
  • Save 6LYTH3/1016709 to your computer and use it in GitHub Desktop.
Save 6LYTH3/1016709 to your computer and use it in GitHub Desktop.
echo
package main
import (
"fmt"
"flag"
)
func main() {
flag.Parse()
s := ""
for i:= 0;i<flag.NArg();i++ {
s = s + (flag.Arg(i)+" ")
}
fmt.Println(s)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment