Sha256: 522c9bc013290588182f8533b41c9c49085c9875c9457651d32fe414b6363e87
Contents?: true
Size: 287 Bytes
Versions: 26
Compression:
Stored size: 287 Bytes
Contents
#!/usr/bin/env ruby require 'isna' "\\1\e[0;0;34m<--- space\e[0m" STDIN.each_line do |line| spaces = line.gsub(/([ ]+$)/, "[\\1]".to_ansi.negative.underline.red.blink.to_s + '<--- space'.to_ansi.red.to_s) tabs = spaces.gsub(/(\t+$)/, "\\1\e[0;0;41m<--- tab\e[0m") print tabs end
Version data entries
26 entries across 26 versions & 1 rubygems