The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: sed

How to deal with NBSPs in a terminal

By

A non-breaking space (NBSP) is a special kind of whitespace. It's an invisible signal that tells a text-processing program to avoid replacing that space with a linefeed or carriage return. For example, if you wrote "2 kg" in LibreOffice Writer and didn't want the "2" to be at…

Read Article

BASH drivers, start your engines

By

There's always more than one way to do a job in the shell, and there may not be One Best Way to do that job, either. Nevertheless, different commands with the same output can differ in how long they take, how much memory they use and how hard they make the CPU work. Out of curiosity I trialled 6…

Read Article

How to tidy copied PDF text with a CoPa script

By

The image below shows a small, demonstration PDF: When I highlight the text in the PDF, only the paragraphs and their internal spaces go to the X, or primary clipboard: When I middle-click-paste from the primary clipboard into a text editor, each line of text in the PDF appears on a new line,…

Read Article

Scottish Country Dancing stats

By

My wife has been in the same Scottish Country Dancing group for many years, and back in 2005 she began keeping a record of the dances done at each meeting. She lists a fair bit of information in her "dances done" spreadsheet (screenshot below). She recently asked me "Would it be…

Read Article

Scripting a DNA sequence viewer

By

SANITY WARNING: Please don't read this article unless you're a compulsive shell scripter, like me. Seriously. There are some excellent FOSS sequence viewers in the distro repositories, with great GUIs and lots of features. Why would you want to build a less capable viewer that only works in a…

Read Article

Hunting gremlin characters

By

When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

News Elsewhere

Linuxtoday.com

Python Programming - if, else and elif

If you have the time, you can read this article else you can do something else. Sounds logical, doesn't it? Well, That's programming for you in a nutshell.

Install OpenNMS Network Monitoring Tool in CentOS/RHEL 7

OpenNMS (or OpenNMS Horizon) is a free and open source, scalable, extensible, highly configurable and cross-platform network monitoring and network management platform built using Java.

Dockly - Manage Docker Containers From Terminal

ostechnix: Dockly is a TUI (text user interface) utility to manage Docker containers and services from the Terminal in Unix-like systems.

11 Uses for the ps Command in Linux

MakeTechEasier: The ps command is a frequently-used tool for system administrators to list the currently-running processes on your system. Here are some great uses for it.

How to Tail Multiple Log Files at One Time

Learn two methods of tailing multiple files at the same time in the Linux terminal.

How to Build Docker Images with Dockerfile

Linuxize: Learn how to create one and how to build a Docker image with Dockerfile.

The future of Docker containers

Michael Crosby is one of the most influential developers working on Docker containers today, helping to lead development of containerd as well as serving as the Open Container Initiative (OCI) Technical Oversight Chair.

Kali Linux Ethical Hacking OS Now Supports More Than 50 Android Devices

Powered by the Linux 4.19.28 kernel, Kali Linux 2019.2 is here to introduce a new release of the Kali Linux NetHunter toolkit

Setup Ruby on Rails Development environment with Docker and Docker Compose on Ubuntu

HowToForge: Learn how to set up a development environment for Ruby on Rails applications using Docker and Docker compose.

GamingOnLinux Latest Articles

The Linux demo for 'Eagle Island', a very slick action-adventure rogue-lite is out and it's extremely impressive

Tags: Rogue-lite, Action, Adventure, Steam, Demo, Coming Soon, MetroidvaniaEver since I first heard of Eagle Island I was basically in love, with…

Very cool deck-building roguelike Dicey Dungeons alpha ending soon, last chance for early price + updated

Tags: Strategy, Roguelike, Alpha, Itch.io, UpdateDicey Dungeons might just be one of my favourite indie games this year, a unique blend of an usual…

A look at what's on sale ahead of the weekend once again, come find your next game

Tags: Game SaleThe weekend is almost upon us and you're in the market for a fresh new game, I've got you covered with what deals are going currently.…

Cardlings looks to be an interesting turn-based strategy with an unusual gameplay style

Tags: Coming Soon, Indie Game, Steam, StrategyCardlings caught my attention recently, a unique turn-based strategy game from Clockwork Chilli that's…

Incredibly weird comedy point and click adventure 'Clam Man' is out

Tags: Adventure, Steam, Indie Game, Unity, ComedyClam Man from Team Clam is a new comedy adventure game, it just recently released with Linux…

Comedy adventure Nelly Cootalot: Spoonbeaks Ahoy! HD is now out with Linux support

Tags: Adventure, Steam, ComedyOriginally released in 2007, Nelly Cootalot: Spoonbeaks Ahoy! HD revamps the experience to make it less painful to play…

Unique gravity-defying metroidvania 'Dandara' finally sees an update to the Linux version

Tags: Steam, Humble Store, Update, Metroidvania, ActionDandara, a very unique take on the action metroidvania genre took me by surprise with the fun…

Steam Play updated again to 4.2-5 to include newer DXVK, networking and controller fixes

Tags: Steam, Steam Play, Update, ValveValve have pushed out the latest smaller update to Steam Play, this time including an updated DXVK and a bunch…

Surreal adventure game 'ZED' about an artist suffering from dementia is releasing in June

Tags: Adventure, Coming Soon, SteamZED, a game that will tell the story of an artist suffering from dementia from Eagre Games and Cyan Ventures now…

art of rally is bringing a stylized racing experience to Linux later this year

Tags: Indie Game, Steam, Coming Soon, RacingFunselektor Labs, the developer of Absolute Drift has announced their latest game, art of rally. It might…

Roguelike fantasy adventure 'Vambrace: Cold Soul' has a new feature trailer ahead of release next week

Tags: Adventure, RPG, Roguelike, GOG, Steam, Coming SoonThe release of Vambrace: Cold Soul on May 28th is getting close now, it's quite an impressive…

IRKALLA, an incredibly stylish looking pixel-art tactical-action platformer is coming to Linux

Tags: Indie Game, Teaser, Coming Soon, Action, PlatformerThe developers behind IRKALLA emailed in today and it grabbed my interest right away with…

Total War: THREE KINGDOMS is out and it comes with same-day Linux support

Tags: Strategy, Steam, Feral Interactive, Humble Store, Benchmark, Initial ThoughtsTotal War: THREE KINGDOMS, possibly one of the biggest Total War…

Create your AI, pick your robots and prepare for battle as Gladiabots has left Early Access

Tags: Strategy, Itch.io, Steam, Indie Game, ProgrammingGladiabots makes me feel dumb, very dumb. It asks you to create various AI and assign them to…

We have some keys for 'Tank Maniacs' for those willing to test and give feedback

Tags: Steam, Indie Game, Coming Soon, GiveawayTank Maniacs, a crazy local multiplayer game that's all about blowing each other up is coming to Linux…