Language Selection

English French German Italian Portuguese Spanish

Highlighting strings in text output with histring

Filed under
HowTos

Recently there was an article on this site discussing adding colour highlighting to grep. Now we're going to look at a general purpose highlighting tool called histring.

If you like to work in console more than X, and like text tools more than GUI ones then histring is definitely a tool for you!

histring simply highlights strings using ANSI terminal escape codes. It is extremely small and lighting fast. I almost use it everywhere in my script where I need a quick peek into large output. Moreover, you almost don't need to learn it, as its syntax is almost identical to grep.

The following two example will turn you into a histring-pro:

Full Story.

More in Tux Machines

Today in Techrights

today's leftovers

Kernel Space: Linux, Graphics

Leftovers: Software

  • Introducing Stremio, a More Complete and Powerful Popcorn Time Alternative
    Stremio is an application built with Electron that streams and plays movies, TV shows, Youtube channels, and TV channels, from torrents. Sounds familiar?
  • mt-st project new homepage
    A short public notice: mt-st project new homepage at https://github.com/iustin/mt-st. Feel free to forward your distribution-specific patches for upstream integration!
  • letsencrypt support in propellor
    I'm using the reference letsencrypt client. While I've seen complaints that it has a lot of dependencies and is too complicated, it seemed to only need to pull in a few packages, and use only a few megabytes of disk space, and it has fewer options than ls does. So seems fine. (Although it would be nice to have some alternatives packaged in Debian.)
  • New release: usbguard-0.4
    I’m not dead yet. And the project is still alive too. It’s been a while since the last release, so it’s time to do another. The biggest improvements were made to the rule language by introducing the rule conditions and to the CLI by introducing a new command, usbguard, for interacting with a running USBGuard daemon instance and for generating initial policies.
  • The Improvements To GNOME's Nautilus 3.20 FIle Manager
  • Nautilus 3.20 Will Be a Major Upgrade, Here's What's New
    A new GNOME major upgrade is on its way, and it will ship with Nautilus 3.20. One of the developers working on it has presented some of the major features that will land.