~mna/runes

14cfa9a1978dc4d4071a88aad2f498263fa26eab — Martin Angers 1 year, 25 days ago c9aec6b
fix processing of string args
1 files changed, 5 insertions(+), 3 deletions(-)

M main.go
M main.go => main.go +5 -3
@@ 77,9 77,11 @@ func main() {

		// if there are remaining arguments, treat them as strings to print the
		// runes of.
		args = args[lastIx+1:]
		for _, arg := range args {
			rs = append(rs, runesSet(arg)...)
		if lastIx > -1 {
			args = args[lastIx+1:]
			for _, arg := range args {
				rs = append(rs, runesSet(arg)...)
			}
		}
	}