[go-nuts] Re: strings and when to use them

2017-05-10 Thread Zachary Kaplan
Thanks On Wednesday, May 10, 2017 at 2:21:54 PM UTC-7, Val wrote: > > Hello Zachary > Stdin and os.Args are quite different. > If your wrote a go program named "kaplan", then when running the following > command on a unix-like system (linux, or OSX) : > > cat bigphoto.jpg | kaplan sepia downsca

[go-nuts] Re: strings and when to use them

2017-05-10 Thread Val
Hello Zachary Stdin and os.Args are quite different. If your wrote a go program named "kaplan", then when running the following command on a unix-like system (linux, or OSX) : cat bigphoto.jpg | kaplan sepia downscale > result.jpg you have os.Args[0]=="kaplan", os.Args[1]=="sepia", os.Args[