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

What software defined storage means for OpenStack

 opensource.com: Recently, I had the opportunity to speak with Sage Weil, founder and chief architect of Ceph

Convirture Adds OpenStack Cloud Backup Tool

 The VAR Guy: Convirture Backup, a new backup, restore and disaster recovery tool from Convirture, brings automated backup to OpenStack clouds running on the KVM virtualization hypervisor.

How to create a cool terminal dashboard in Linux

 xmodulo: Are you looking for new ways to display information in Linux?

Ohio LinuxFest 2014 - A Look At Tomorrow

 FOSSforce: Lots of fun at Ohio Linuxfest

Collection of Useful Bash Functions and Aliases

 tuxarena: In this article I'm going to share some of the Bash aliases and functions that I use and I find pretty handy every once in a while.

Canonical Adds Ubuntu OpenStack Distribution for Open Source Cloud Computing

 The VAR Guy: Canonical has announced its own distribution of OpenStack, the open source cloud computing operating system, built on top of Ubuntu Linux.

Google's surprise Nexus 6 preorders anger some Android users

 ITworld: What a shame that this preorder mess had to happen with the Nexus 6

Contributing effectively to OpenStack's Neutron project

 OpenSource.com: Find out more about Kyle and his work prior to his talk at the OpenStack Summit in Paris this year in this interview.

Rocker: Run R in Docker containers

 LinuxBSDos: Rocker is a new project that offers an alternate system for running the R statistical and programming language in Docker containers.

GamingOnLinux.com Latest Articles

The Wine Development Release 1.7.30 Is Now Available.

Wine development team was able to produce a new experimental release today. 1.7.30 bringing many new features and as many as 50 bugfixes.

GODOT: The Open Source Engine Behind The Interactive Adventures Of Dog Mendonça & Pizza Boy

A few days ago I published an article about three Kickstarter projects from Argentina and what they had to say about Linux. One of those was OKAM Studio’s The Interactive Adventures of Dog Mendonça & Pizza Boy, and I briefly mentioned their open source GODOT Engine - which will be the subject of this article.

Friday Livestream At 5 PM UTC, TPS Key Give-away!

For this week's livestream we've planned to play some of the new games that have been sent to us recently and give one Borderlands: The Pre-Sequel Steam key to a lucky viewer who will be chosen by random.

Sequel To Teslagrad Funded And On Its Way

On Wednesday the developer of Teslagrad, Rain Games, secured a $150,000 grant from the Norwegian Film Institute (NFI) to continue development on the sequel to Teslagrad, World to the West.

Europa Universalis IV: Art Of War, Biggest Expansion To EU IV Yet, Released

Art of War, the newest expansion to the popular Europa Universalis IV has been released. There's a lot of content to go around this time, prominently including an overhauled reformation mechanic that promises to spice up the religious wars in Europe.

Transistor Available On Linux Now

Transistor, a game made by the developers of the well-received Bastion, is finally available on Linux.

Win A Copy Of Borderlands: The Pre-Sequel

Surprise! Hello everyone it's been a while since I wrote anything here, so how about a chance to win some Borderlands: The Pre-Sequel keys?

SteamOS & Steam's Big Picture Mode Now Have Better Filter Options

One of the annoyances that may come with people using SteamOS is buying games from the store they cannot use a game-pad controller with, and Valve are taking steps to improve this.

The Last Dogma Is Now On Greenlight, Offering Linux Version Exclusively For SteamOS

The Last Dogma is a dark comedy adventure set in the year 1999 of an alternate reality world, where US actively campaigns for world domination, UK is ruled by the dictator from Iran and Yugoslavia is being invaded by several countries.

Animal Gods Coming To Linux, Now On Kickstarter

Animal Gods is top-down action adventure game now on Kickstarter inspired by classics from the 90's brought to the 21st century with full HD, dynamic lighting and high-res textures.

GOL Cast: Disorienting Jumps In DeadCore

DeadCore popped up on Steam a little over a week ago with neat trailers showing interesting, fast-paced gameplay. How well does DeadCore work in the practice? We are here to find out.

Aspyr Media Plans More Linux Games In The Next 6 Months UPDATED

Aspyr Media are starting to be fan favourites with their open communication. They can't give full details of course, but they have given us hints about more games coming to Linux.

Humble Indie Bundle 13 - Hits A Milestone As 100 Linux Ports Reached

The newest Humble Bundle is live and this time around features quite a few Linux débuts. Currently there's a total of 8 games in the bundle with more to come.

Forward To The Sky, A Fantasy Platformer Coming To Linux

This weekend I decided to do what I haven't done in a long time.... explore Steam Greenlight! One game that caught my attention more than the others was Forward to the Sky.

GOG Announces 20+ LucasArts Classics To Release On The Digital Platform

The DRM free publisher has entered into a partnership with ©Disney to add 20+ classic titles from the back catalogue of now defunct publisher LucasArts Entertainment Company. The first batch of six games were added today. Two of which are available for Linux.