Tag Info

New answers tagged

3

echo ' ████████ ██████████████ ████████████████ ██████████████████ ██████████████████ ████████████████ ██████████████ ████████' Or programmatically and using reverse video instead of Unicode boxing character: $ awk -v radius=20 'BEGIN{ for (y = -radius; y <= radius; y++) { x = sqrt(radius * radius - y * y) printf ...


1

If the only issue are the colors in the output of ls, it's easy to fix. Just set your own LS_COLORS variable and that will override anything else. So, to start, run dircolors -p > ~/.mycolors That will print the default values into a new file called .mycolors in your $HOME directory. Note that this will set the default colors from your current ...


1

You can use hhlighter. You will need git and ack (possibly ack-grep depending on your distro). git clone https://github.com/paoloantinori/hhighlighter.git You can edit your .bashrc file in two ways. You could add a the path to your h.sh file like this: . ~/hhlighter/h.sh or you could just copy and paste the h() function into .bashrc. Either way, you ...


2

I've written a little script that will color whatever string you give it: #!/usr/bin/env perl use Getopt::Std; use strict; use Term::ANSIColor; my %opts; getopts('hic:l:',\%opts); if ($opts{h}){ print<<EoF; Use -l to specify the pattern(s) to highlight. To specify more than one pattern use commas. -l : A Perl regular expression to be ...



Top 50 recent answers are included