Created
April 19, 2019 14:55
-
-
Save ericfialkowski/73723ce3bebc02150c001f28ad15e028 to your computer and use it in GitHub Desktop.
Simple utility to echo w/o newline for windows cmd.exe users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
) | |
func main() { | |
msg := os.Args[1:] | |
fmt.Printf("%s", strings.Join(msg, " ")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment