mirror of
https://github.com/golang/go
synced 2024-11-23 23:00:03 -07:00
b67b72da43
R=golang-dev, r CC=golang-dev https://golang.org/cl/4897048
13 lines
142 B
Go
13 lines
142 B
Go
package main
|
|
|
|
import (
|
|
"template"
|
|
"os"
|
|
"io/ioutil"
|
|
)
|
|
|
|
func main() {
|
|
b, _ := ioutil.ReadAll(os.Stdin)
|
|
template.HTMLEscape(os.Stdout, b)
|
|
}
|