if err != nil {
return "", err
}
- return input, nil
+ return input[:len(input)-1], nil
func repl(ctx *core.Context) {