This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
word_diffs [2019/03/24 14:25] steve |
word_diffs [2019/03/24 14:28] steve |
||
---|---|---|---|
Line 48: | Line 48: | ||
</code> | </code> | ||
- | There's more switches that ''wdiff'' can use. Here's another example I use in dokuwiki, where I only want to display what the changed word is and add a prefix and suffix of ''\*\*'' so I can drop the text right in: | + | There's more switches that ''wdiff'' can use. Here's another example I use in dokuwiki, where I only want to display what the changed word is and add a prefix and suffix of ''%%**%%'' so I can drop the text right in: |
<code> | <code> | ||
Line 63: | Line 63: | ||
**Whosoever, therefore,** shall break one of these least commandments, and shall teach men **so to do,** he shall **in no wise** be **saved** in the kingdom of **heaven;** but whosoever shall do and teach **these commandments of the law until it be fulfilled,** the same shall be called **great, and shall be saved** in the kingdom of heaven. | **Whosoever, therefore,** shall break one of these least commandments, and shall teach men **so to do,** he shall **in no wise** be **saved** in the kingdom of **heaven;** but whosoever shall do and teach **these commandments of the law until it be fulfilled,** the same shall be called **great, and shall be saved** in the kingdom of heaven. | ||
+ | |||
+ | You could obviously use your own formatting rules to do things like using HTML tags, or your own wiki syntax, etc. | ||
+ | |||
+ | See the [[https://www.systutorials.com/docs/linux/man/1-wdiff/|wdiff]] man page for usage information. |