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

UberWriter Text Editor Review - A Writer's Dream Come True

 softpedia: UberWriter is described by its developer as a simple markdown editor, but it's so much more than that

Tech Comics: The Pandora Hotline

 Datamation: Aren't some of the songs we listen to on Pandora just a little bit embarrassing?

Linux 3.17 rc3

Linus Torvalds: Please don't prove me wrong

Metro 2033 Redux For Linux Looks Closer To Reality

 GamingOnLinux: Metro 2033 Redux is confirmed for Linux, but the actual release date isn't certain yet.

SUSE's Flavio Castelli on Docker's Rise Among Linux Distros

Linux.com: On July 30, the first official Docker build for openSUSE was released, making this distribution the latest among many to join the fray. I

LibreOffice 4.3.1 "Fresh" announced

DocumentFoundation: The Document Foundation announces LibreOffice 4.3.1, the first minor release of LibreOffice 4.3 “fresh” family, with over 100 fixes (including patches for two CVEs, backported to LibreOffice 4.2.6-secfix, which is also available for download now).

What happens when a non-coder tries to learn Linux

OpenSource.com: I wanted to learn Linux, so here's my account of what I did to achieve that goal.

[ANNOUNCE] Jailhouse 0.1 released

LKML: After its publication about 10 months ago, the Jailhouse partitioning
hypervisor for Linux has reached an important first milestone: all major
features required to use Jailhouse on Intel x86 CPUs are now available.

Photo Editing on Linux with Krita

Linux.com: Krita is a wonderful drawing and painting program, and it's also a nice photo editor.

GamingOnLinux.com Latest Articles

Ryan Icculus Gordon On The Linux Action Show

Ryan Icculus Gordon has just recently been on a guest on the excellent Linux Action Show to talk about Linux gaming. Ryan Icculus Gordon is the name behind a number of big ports.

Empire: Total War Looks Close To A Linux Version, Pokes Fun At Linux Gamers

We already knew that Total War: ROME II would come to Linux, but now it looks like the original Empire: Total War will come to Linux too and maybe sooner than the sequel.

Steampunk Train Shooter Meets Tower Defense: Kickstarter & Playable Demo

If you're looking for steampunk game that combines elements of rail shooters and tower defense there's a kickstarter launching Sept 2 with your name on it! In Tumbleweed Express players must expertly defend their train while constantly battling against an endless barrage of militarized bandits, outlaws, and opposing organizations.

GOL Cast: Fighting A Desperate Battle In AI War

An RTS fan? Well, you might like what this complex strategy game about a galactic war against an over-powered AI brings to the table. Let's see what AI War is all about!

Metro: Last Light Redux Showing Signs Of Getting The Linux Version Out

Metro: Last Light Redux has been updated on the SteamDB to include some Linux information, so it seems the developers are working on getting it sorted.

NeonXSZ Cyberspace FPS Now On Steam For Linux

For those of you who stick to Steam this will be good news. NeonXSZ is an awesome cyberspace FPS with solid gameplay and it looks good too.

Ambient Puzzler Hexcells Infinite Available On Linux Today

The third and final instalment in the popular puzzle game series launches today, DRM free and on Steam.

The Most Popular Linux Gaming Articles For August 2014

Here is a look back at the most popular articles on GamingOnLinux for August 2014, an easy way to for you to keep up to date on what has happened in the past month for Linux Gaming!

Trine Enchanted Edition May Have A Linux Beta

We know that the Trine Enchanted Edition major update to Trine will come to Linux, but we don't know when yet sadly. The good news is they may do a beta for the Linux version.

Icewind Dale: Enhanced Edition For Linux & Baldur's Gate: Enhanced Edition Linux Update

Icewind Dale: Enhanced Edition has been announced to much fanfare and it looks like it will be getting a Linux version. Well sort of, maybe, we aren't quite sure. Also there's another small bit of hope for the Baldur's Gate EE Linux version.

Sid Meier's Civilization: Beyond Earth Has A Strategy Packed New Trailer

Sid Meier's Civilization: Beyond Earth is going to rock the strategy world when it gets released. We already know the Linux release will be delayed, so for now here's a new awesome trailer.

Shadowrun: Dragonfall - Director's Cut RPG Is A Thing & Has A Trailer

Shadowrun: Dragonfall - Director's Cut is a new edition of the DLC for Shadowrun Returns in standalone form. The Director's Cut adds a host of new content and enhancements to the original game.

Appointment With F.E.A.R. A Comic Adventure Released For Linux

Appointment With F.E.A.R. is a rather interesting looking mix of comic, adventure and visual novel all in one fancy looking package.

Gas Guzzlers Extreme Is Still Heading To Linux Despite The Delay

Sadly the excellent looking Gas Guzzlers Extreme action packed racing game isn't yet on Linux, but we now know why at least!

Strife, The New MOBA From S2 Games Is Now In Open Beta For Linux & It's Free

Strife is the brand new free to play MOBA from S2 Games who created Heroes Of Newerth, Savage & Savage 2. Is it any better than other MOBA's though?