Remove use of non-POSIX option to grep

Don't use --only-matching. Print whole line and use nl to indicate beginning of
each result
Remove matched-file open prompt
Remove use of non-POSIX option to grep

Don't use --only-matching. Print whole line and use nl to indicate beginning of
each result
Merge branch 'POSIX' of tomato:~/work/bare/n into POSIX

Conflicts:
	n
looks cleaner but still tests twice
Slightly cleaner flag tests...
Don't use recursive grep. Use shell glob
Put non-posix -o option in this branch
Merge branch 'dup'

Conflicts:
	n
Replace missing / in sed string
Auto-commit of .log by diary script
Auto-commit of .log by diary script
Let functions that can fail return error values
Replaced some seds with parameter expansion
Auto-commit of .log by diary script
Auto-commit of .log by diary script
Fold it up
Move testing to where it matters. But is it really necessary?