Yes it is interesting, I was looking for another means to make strikethrough text other than doing it online,zigbert wrote:Geoffrey
Thanks for this one - interesting!
I have put your code in the new post about Text managing
this isn't perfect as there can be some small spaces in the line if you look carefully and when paste in to a text file the line shifts to the right by one character, but it's good enough.
I found the simplest code solutionhere
Code: Select all
echo text | sed $"s/./&\xCC\xB6/g"
List of character codeshere
edit:
I compared both ways of doing it, their identical.
I see a space in the line on the "m"
w̶r̶i̶t̶e̶ ̶s̶o̶m̶e̶ ̶t̶e̶x̶t̶ ̶h̶e̶r̶e̶ online strikethrough
w̶r̶i̶t̶e̶ ̶s̶o̶m̶e̶ ̶t̶e̶x̶t̶ ̶h̶e̶r̶e̶ gtkdialog strikethrough