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

Why Linux users should try Rust

NetworkWorld: Installing the Rust programming language on your Linux systems could turn out to be one of the more rewarding things you've done in years.

Fedora 29 Linux Enters Beta, Introduces SilverBlue for Container Workloads

ServerWatch: Fedora 29 Beta was released on Sept. 25, providing an early look at new capabilities coming in Red Hat's community Linux project.

Endless OS - A Beautifully Unique Linux Distribution for Your Family

Endless OS is mostly used to teach computing all over the world

How to Find Out File Types in Linux

Tecmint: Linux has a useful utility called file which carry out some tests on a specified file and prints the file type once a test is successful

PostgreSQL performance tuning for faster query execution

Linuxconfig: Most mature database solutions provide tools and know-hows on how to tune the database, identify possible bottlenecks

Deutsche Telekom's and Aricent's Open Source Edge Software Platform for 5G

Big telecoms want to make sure that when 5G is rolled out wholesale, that data centers are ready to handle expected new use cases from the edge.

How To Set Up Nginx Server Blocks on CentOS 7

 Linuxize: Nginx Server Blocks allows you to run more than one website on a single machine

Install Google Assistant In Gnome Shell

Cloud-based voice recognition assistants have grown massively over the past few years

After Linus Torvalds, SJWs are now coming for Ted Ts'o

 ITwire: More than a week after Linux creator Linus Torvalds said he would be taking a break from leading kernel development, it is still unclear as to what actually led to his decision.

GamingOnLinux Latest Articles

Timespinner, a polished and fun metroidvania, is now available

Tags: DRM Free, Indie Game, Metroidvania, Review, SteamTraveling back and forth in time is seldom easy and often carries risks. I braved the odds and…

Mark of the Ninja Remastered from Klei Entertainment due out on October 9th

Tags: Indie Game, Action, Stealth, Coming SoonMark of the Ninja was a damn fun game and it's one I'm pretty happy to see remastered, it has a trailer…

Pillars of Eternity II: Deadfire - Seeker, Slayer, Survivor is now out, some thoughts on the brawling

Tags: DLC, Review, RPG, Steam, GOGThe latest DLC for the engaging RPG, Pillars of Eternity II, sees you thrust into bloody arena combat. I spent some…

The RPG 'Pathfinder: Kingmaker' is out with critical bugs in the Linux version

Tags: GOG, Humble Store, RPG, SteamThe RPG Pathfinder: Kingmaker is out today from Owlcat Games and Deepsilver, sadly the Linux version has…

Lutris 0.4.20 is now out, to help you manage all your games plus some Overwatch testing

Tags: Apps, WineI have to admit, the game manager Lutris [Official Site] has come along quite a bit since I last used it. Today, version 0.4.20 was…

Wizard arena-fighter 'Gift of Parthax' is now officially out on Linux

Tags: Humble Store, Steam, Indie Game, ActionAnnounced yesterday after a pretty short beta period, the magical arena fighting game Gift of Parthax is…

Challenging minimalist puzzle game 'DotLine' released with native Linux support

Tags: Casual, Puzzle, Indie Game, SteamDotLine from The Selenite Forge who also made Bionic Attack is a minimalist puzzle game that tries to…

GOG added two more Visual Novels with Linux support, Highway Blossoms and A Kiss For The Petals

Tags: GOG, DRM Free, Visual NovelFor those who love Visual Novels, you might want to know that GOG have expanded their collection a little again…

Top-down shooter Geneshift is getting a Battle Royale mode and it sounds like a lot of fun

Tags: Battle Royale, Action, Indie Game, Steam, Early AccessGeneshift (also known as Mutant Factions or Subvein) is a top-down shooter with some…

Aspyr Media have a big sale going on the Humble Store, some sweet deals to be had

Tags: Game Sale, Humble StoreFor those of you in the mood to start you week with some fun new games, Humble Store is doing an Aspyr Media sale. If…

Sunless Skies to leave Early Access on January 31st, 2019 also now out is a free pen and paper RPG system

Tags: Early Access, Steam, GOG, Indie Game, RPG, AdventureFailbetter Games have announced that Sunless Skies is set to leave Early Access on January…

The beautifully weird hidden object adventure game My Brother Rabbit is out, it's really sweet

Tags: Adventure, Indie Game, Point & Click, Hidden Object, ReviewMy Brother Rabbit from Artifex Mundi is an absolutely beautiful adventure game…

What even more developers think of Valve's Steam Play

Tags: Steam Play, InterviewYou think we were done writing about Steam Play? Wrong. Here's what Godot Engine's Rémi Verschelde and Marc Di…

The rather good 2D action RPG 'Chronicon' just had a major upgrade

Tags: Steam, Indie Game, Action, RPG, Early AccessBeing completely honest here, I absolutely love this game! The 2D action RPG Chronicon has a new…

Turn-based rogue-like RPG 'Depth of Extinction' confirmed to release on September 27th

Tags: Roguelike, RPG, Strategy, Coming Soon, Indie Game, GOG, Itch.io, Humble Store, SteamWe knew that the rather good rogue-like RPG Depth of…