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

Articles found under tag: linux-shell

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

A Pivot Table In AWK

By

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read Article

Why I (sometimes) love regular expressions

By

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read Article

Scripting a 'Find-and-Replace' for big text files

By

EDIT 26/04/2014 I wrote the original fandr script to do single-word replacements in big files. To do multiple-word find-and-replace, the 'needle' variables have to be double-quoted, as in the revised script below. An example of a multiple-word replacement is at the end of this article. I use two…

Read Article

Multiple-item data entry with YAD

By

YAD (Yet Another Dialog) creates GUI dialogs for data entry, user notification, etc. It was written by Victor Ananjevsky and is described as a fork of Zenity. In fact, it greatly extends Zenity and has a very large number of handy options. Here I explain how to build a multiple-item data entry form…

Read Article

Scripting an OCR text archiver for Trove

By

Trove is the National Library of Australia's online database. It contains almost 400 000 000 digital items, including Australian newspaper articles from 1803 to 1954. Trove's newspaper portal is particularly useful. You can view an entire digitised newspaper page, or select (or search for) an…

Read Article

How to kill blank lines elegantly

By

If you do a Web search for 'linux delete blank lines' you'll find lots of command-line advice. Some of the advice, though, only applies to special cases. Here I explain two elegant and general methods for finding and deleting any blank lines in a text file. As a sample text I'll use the 8-line file…

Read Article

Building a gazetteer table from KML files

By

Geoscience Australia has a freely downloadable gazetteer of Australian placenames with more than 370 000 entries. The download is a .zip file (83 mb) containing a user guide together with placenames data in GML, KML and Microsoft Access (.mdb) formats. What I wanted from all that data was a simple…

Read Article

News Elsewhere

Linuxtoday.com

The Xen Project’s Lars Kurth on the Promise (and Debugging) of Unikernels

The New Stack: On the one hand, we have projects such as the Xen Project’s MirageOS, which is single language unikernel

Mozilla Changes the Release Schedule of Firefox

Mozilla is making some changes to the Firefox schedule, and it looks like they are going to give more time to developers between releases.

Ubuntu Linux in the Wild: How a French University Uses Unity

The VAR Guy: Ubuntu, the Linux-based open source OS from Canonical, is being used in a library in France with the Unity interface.

The trials of certifying open source software

 opensource.com: There's a lot of confusion around "certification" and what it means to be certified to a particular project.

How to monitor OpenFlow messages with packet sniffer

 Xmodulo: OpenFlow offloads the high-level routing/forwarding decisions (control plane) from networking devices such as switches, and moves the control plane on to a separate controller.

Introducing NayuOS, a Free Alternative to ChromeOS with No Google Login

NayuOS is a new operating system built by Nexedi that aims to provide users with a Chrome OS free alternative.

Rootkit Security: The Next Big Challenge

 EnterpriseStorageForum: Servers, networks, disks and SSD drives are all at risk unless vendors have a way of securing firmware

Here comes the first Ubuntu Linux tablet

 ZDnet: Canonical is finally delivering on its promise to deliver one codebase for all devices.

GamingOnLinux.com Latest Articles

Shadowrun: Hong Kong gets free Extended Edition update

Tags:DRM Free,GOG,RPG,SteamThe latest in the line of cyberpunk RPGs by Harebrained Schemes gets a really beefy update available to all players for…

Don't Starve: Shipwrecked DLC is now available on SteamOS & Linux

Tags:DLC,Early Access,Steam,Survival Heads up survivalists! Don't Starve: Shipwrecked the good looking new DLC for the single player version of Don't…

Croteam confirm The Talos Principle will be their first Vulkan title

Tags:Vulkan,Puzzle,Coming SoonCroteam are aware of the excitement and general interest in their titles running on Vulkan, and they have confirmed it…

Friday Livestream commencing at 6 PM UTC, Commander

Tags:Site InfoIt likely doesn't come to you as a surprise that I am going to be playing XCOM 2 on the Friday Livestream. It's the biggest game that…

XCOM 2 tested on R7 370 with Crimson and RadeonSI

Tags:AMD,BenchmarkYou have seen Liam's port report of XCOM 2 on Nvidia hardware and it's time for me to take a look at the AMD performance. So, let's…

XCOM 2 released for SteamOS & Linux, port report included

Tags:Unreal Engine,Strategy,Steam,Feral InteractiveOh baby, here we go. Thanks to Feral Interactive, XCOM 2 has been officially released today for…

Killing Floor 2 still planned for SteamOS & Linux, lacking the manpower for it right now

Tags:Zombies,Steam,FPS,Coming Soon,Action We finally have something other than silence from Tripwire about Killing Floor 2, and the news isn't great…

LittleBigPlanet developers seeking funding for co-op action adventure, Linux confirmed

Tags:Crowdfunding,Adventure,ActionTwo former key developers of PlayStation hits like Tearaway, LittleBigPlanet and Ratchet & Clank: Tools of…

Batman: Arkham Knight for Linux & SteamOS cancelled

Tags:Editorial,SteamConsidering how terrible the Windows PC release of Batman: Arkham Knight was/is I’m not really surprised. Hopefully we will…

XCOM 2 can be pre-loaded ready for release on SteamOS/Linux & exact release time revealed

Tags:Strategy,Steam,Coming SoonI'm not going to apologise for many XCOM 2 articles, I am excited, deal with it. XCOM 2 can now be pre-loaded ready to…

Mad Max looks like it really is coming to SteamOS & Linux after all, another massive game for us

Tags:Steam,Coming Soon,Action Fantastic news, looks like Mad Max is actually coming to Linux if new information from SteamDB is to be believed. …

Cities: Skylines - Snowfall release date and price announced

Tags:DLC,Steam,StrategyCities: Skylines - Snowfall the next DLC for the hit city builder is now confirmed to be releasing on February 18th. It will…

Earth 2160, the RTS game looks like it's getting a Linux version on Steam

Tags:Coming Soon,Steam,StrategyEarth 2160 is a game from quite a few years ago now, but it's a classic strategy game. Looks like someone has begun…

Want to play XCOM 2? The system requirements for Linux & SteamOS have been sent out

Tags:Strategy,Steam,Coming Soon The cogs are rolling, and XCOM 2 is extremely close to release. So close in fact that we finally have the XCOM 2…

Rememoried, a surrealist explorative first-person adventure game now on SteamOS & Linux

Tags:Adventure,Indie Game,SteamRememoried looks quite beautiful in places looking at the shots, and it definitely appeals to me as a star gazer and…