go: pylint tests

pylint:
	./this-pylint --to-pylint drscut

tests:
	[ $$(echo abc def ghi | python drscut -f 1) = def ]
	[ $$(echo abc def ghi | python drscut -f 0) = abc ]
	[ $$(echo abcqdef | python drscut -f 0 -i q) = abc ]
	[ "$$(echo abcqdefqghi | python drscut -f 0 -f 2 -i q)" = 'abc ghi' ]
	[ $$(echo abc def ghi | python3 drscut -f 1) = def ]
	[ $$(echo abc def ghi | python3 drscut -f 0) = abc ]
	[ $$(echo abcqdef | python3 drscut -f 0 -i q) = abc ]
	[ "$$(echo abcqdefqghi | python3 drscut -f 0 -f 2 -i q)" = 'abc ghi' ]

install:
	./install-file --file drscut --directory /usr/local/bin/.
	./install-file --file readline0.py --directory /usr/local/lib/.