- added tools folder

This commit is contained in:
2022-06-30 16:56:54 +02:00
parent 71020198e4
commit 326bda000e
24 changed files with 2431 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env ruby
st = "\033[7m"
en = "\033[m"
while TRUE
print "str> "
STDOUT.flush
str = gets
break if not str
str.chop!
print "pat> "
STDOUT.flush
re = gets
break if not re
re.chop!
str.gsub! re, "#{st}\\&#{en}"
print str, "\n"
end
print "\n"