Hi,

>From /usr/src/games/fortune/Notes:

    Underlining is done on a word-by-word basis, with the underlines
    preceding the word, e.g., "__^H^Hhi ____^H^H^H^Hthere".

Two fortunes, though, do it wrong: "_^H_^Hhi _^H_^H_^H_^H_^Hthere".
This manifests as an underline beneath only the first letter of each
word (e.g., try "fortune -m squid | ul").

While here, fix the note: "there" is five letters long and so needs five
underscores.

Note that the below diff contains backspaces, so it may look funny.

ok?

Index: Notes
===================================================================
RCS file: /cvs/src/games/fortune/Notes,v
retrieving revision 1.4
diff -u -p -r1.4 Notes
--- Notes       13 Jul 2017 02:05:14 -0000      1.4
+++ Notes       14 Sep 2018 08:16:23 -0000
@@ -108,7 +108,7 @@ Limericks are indented as follows, all l
        If the input was short of exact.
 
 Underlining is done on a word-by-word basis, with the underlines
-preceding the word, e.g., "__^H^Hhi ____^H^H^H^Hthere".
+preceding the word, e.g., "__^H^Hhi _____^H^H^H^H^Hthere".
 
 No fortune should run beyond 72 characters on a single line without good
 justification (er, no pun intended).  And no right margin justification,
Index: datfiles/fortunes
===================================================================
RCS file: /cvs/src/games/fortune/datfiles/fortunes,v
retrieving revision 1.53
diff -u -p -r1.53 fortunes
--- datfiles/fortunes   12 Jan 2018 20:13:06 -0000      1.53
+++ datfiles/fortunes   14 Sep 2018 08:16:24 -0000
@@ -301,7 +301,7 @@ ducks.
 %
 A girl and a boy bump into each other -- surely an accident.
 A girl and a boy bump and her handkerchief drops -- surely another accident.
-But when a girl gives a boy a dead squid -- *____that ___had __to 
____mean _________something*.
+But when a girl gives a boy a dead squid -- *____that ___had __to 
____mean _________something*.
                -- S. Morganstern, "The Silent Gondoliers"
 %
 A gleekzorp without a tornpee is like a quop without a fertsneet (sort
@@ -10026,7 +10026,7 @@ they charge fifteen cents for them.
 Our documentation manager was showing her two year old son around the
 office.  He was introduced to me, at which time he pointed out that we
 were both holding bags of popcorn.  We were both holding bottles of
-juice.  But only *__he* had a lollipop.
+juice.  But only *__he* had a lollipop.
 
 He asked his mother, "Why doesn't HE have a lollipop?"
 

Reply via email to