Created
January 6, 2017 00:55
-
-
Save brandonpittman/81ccb6833d151395fee8d68efb15db72 to your computer and use it in GitHub Desktop.
Fish function for using writing scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check out the individual writing scripts here: | |
# http://matt.might.net/articles/shell-scripts-for-passive-voice-weasel-words-duplicates/ | |
# red is wrapper for the fish utility "cprintf" that uses `cprintf "<fg:red>%s</fg>" "Weasel words:"` | |
function proof --description 'Check writing for dups, passive voice and weasel words' | |
red "Weasel words:" | |
weasel $argv | |
red "Passive voice:" | |
passive $argv | |
red "duplicates:" | |
dups $argv | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment