From 751657369dcb6e88e2e3870fc6343e02428723ea Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 14 Aug 2020 19:37:05 -0400 Subject: [PATCH] Fixed window in the redneck translator. --- modules/redneck/redneck.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/redneck/redneck.sh b/modules/redneck/redneck.sh index 714b40a..851f159 100755 --- a/modules/redneck/redneck.sh +++ b/modules/redneck/redneck.sh @@ -11,19 +11,20 @@ redneck() { -e "s/(^| )thing( |,|\?|\.|!)/\1thang\2/gI" \ -e "s/(^| )think( |,|\?|\.|!)/\1thank\2/gI" \ -e "s/(^| )A /\1Uh /gI" \ - -e "s/(.*)i([^a|^e|^ll|^on|s].*)/\1ah\2/gI" \ + -e "s/(.*)i([^a|^e|^ble|^ll|^ndo|^on|^s].*)/\1ah\2/gI" \ -e "s/(^| )(boy|dude|fellow|guy|man)([?s])( |,|\?|\.|!)/\1feller\3\4/gI" \ -e "s/(^| )for( |,|\?|\.|!)/\1fer\2/gI" \ -e "s/(^| )men( |,|\?|\.|!)/\1fellers\2/gI" \ -e "s/(^| )get( |,|\?|\.|!)/\1git\2/gI" \ -e "s/(^| )(appartment|cottage|house)( |,|\?|\.|!)/\1shack\3/gI" \ -e "s/(^| )(god damn|goddam)( |,|\?|\.|!)/\1gol-durn\3/gI" \ - -e "s/(^| )(is not|isn't|are not|aren't|will not)( |,|\?|\.|!)/\1ain't\3/gI" \ + -e "s/(^| )(am not|is not|isn't|are not|aren't|will not)( |,|\?|\.|!)/\1ain't\3/gI" \ -e "s/(^| )(cannot|can't)( |,|\?|\.|!)/\1cain't\3/gI" \ -e "s/(\w)ing( |,|\?|\.|!)/\1in'\2/gI" \ -e "s/(\w)(i|ah)ght( |,|\?|\.|!)/\1aht'\3/gI" \ -e "s/(^| )my /\1mah /gI" \ -e "s/(^| )people( |,|\?|\.|!)/\1folks\2/gI" \ + -e "s/(.*)window(.*)/\1windder\2/gI" \ -e "s/(^| )that( |,|\?|\.|!)/\1'at thar'\2/gI" \ -e "s/(^| )this( |,|\?|\.|!)/\1'is here\2/gI" \ -e "s/(^| )aht( |,|\?|\.|!|')/\1it\2/gI" \ @@ -33,7 +34,7 @@ redneck() { echo " $(shuf -n1 -e \ "Hold Mah beer." \ "You're darn tootn" \ - "Y'all come back now, y'hear?" \ + "Y'all come back now, ye'hear?" \ "Yyyyyyeeeeeeeeehaaaaaaaaawwwwww!" \ )" }