This is linked to another question/code-golf i asked on Code golf: "Color highlighting" of repeated text
I\'ve got a file \'sample1.txt\' with the following co
Pure Bash (no externals)
At the Bash command line:
$ sample="LoremIpsumissimplydummytextoftheprintingandtypesettingindustry.LoremIpsumhasbeentheindustry'sstandarddummytexteversincethe1500s,whenanunknownprintertookagalleyoftypeandscrambledittomakeatypespecimenbook."
$ # or: sample=$($entry}; fi; done; echo "Output:"; echo $sample
Output:
LoremIpsum issimplydummytext oftheprintingandtypesettingindustry .LoremIpsum hasbeentheindustry 'sstandarddummytext eversincethe1500s,whenanunknownprintertookagalleyoftypeandscrambledittomakeatypespecimenbook.