I am consolidating a set of proofreading scripts
<https://matt.might.net/articles/shell-scripts-for-passive-voice-weasel-words-duplicates/>
into a Makefile that includes a "proof" rule. This rule calls each of the
underlying scripts - and Aspell <http://aspell.net> - in sequence. At the
moment, running these will print output to the screen, but I would like to
go one step further.
As these are "interactive" scripts, which return a text UI when run, is it
possible to pass the results to bbresults and present matching items in a
differences window?
The end result would look similar to the following:
proof:
duplicates.sh
passive-voice.sh
weasel-words.sh
aspell check $document
I have done something similar with a function bbshellcheck, which has the
following form:
bbshellcheck {
shellcheck -f gcc "$@" | bbresults
}
On paper, this makes sense. However, it isn't working exactly as I expect
-- Is this the wrong approach, or am I missing something obvious?
--
This is the BBEdit Talk public discussion group. If you have a feature request
or need technical support, please email "[email protected]" rather than
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/1b5f69c7-7828-4c3c-9b90-2500b91878a5n%40googlegroups.com.