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

Linux/UNIX xargs command examples

 LinuxTechi: xargs command is very handy when combined with other commands.

OpenStack's Mission Is Total Victory

eWEEK: Marten Mickos, the incoming head of HP's cloud efforts, sets an audacious goal for the open-source cloud.

Manage Multiple Logical Volume Management Disks using Striping I/O

 tecmint: Logical Volume management has one of the cool feature which can write data over multiple disk by striping the I/O.

KDE Developer Says Community Managers Are a Fraud and a Farce

 softpedia: The community managers play a very important role in the open source community and they usually shape up the projects they work on, but it looks like not everyone agrees with their function.

Linux Tech Support & Time Warner

 FOSSforce: Which version of Windows or Mac are we using?"

Canonical Partners with AMD for Ubuntu OpenStack Cloud Server

ServerWatch: Canonical, the lead commercial sponsor behind the open-source Ubuntu Linux distribution is ramping up its OpenStack efforts thanks to a new server solution from AMD.

Docker Raises $40M, Plans New Enterprise Tool for 2015

eWEEK: Open-source Docker virtualization container technology gets a big vote of confidence from investors, with Docker Inc.'s receiving a new round of financing.

The True Measure of a Successful Open Source Project

Linux.com: A question I get a lot is, “What makes an open source software project successful?”

GamingOnLinux.com Latest Articles

Hammerwatch Hack & Slash Action Game Has A Free Expansion

Hammerwatch is a pretty good-looking hack & slash dungeon crawling action game that has just been updated to include a free expansion!

The Video For Valve's SteamOS Talk From DebConf14 Is Up

Valve went to the DebConf this year and did a talk about SteamOS, and the video is finally up for viewing!

Valve Are Tracking SteamOS Issues With AMD Graphics

Valve have put up a post on their SteamOS community to keep track of AMD graphics issues with SteamOS. We hope this will push AMD some more to better their proprietary Linux drivers.

Skullgirls Developers Detail What's Going On With The Linux Port

The Skullgirls developers have finally written up an official blog post on the status of the Linux port.

Shovel Knight Will Have Its Linux Version Soon

Backers of Shovel Knight or gamers interested it in that didn't back it on Kickstarter will be happy to know that Shovel Knight will release the Linux version "soon".

Image & Form Announces SteamWorld Heist

Image & Form who created SteamWorld Dig, a highly rated indie game have just announced SteamWorld Heist!

Starbound Could Be Open Source In Future

The head of Starbound developers Chucklefish "Tiy" has said openly on twitter to all of his followers he wants to open source Starbound, and all their other games.

Another World Now Available For Linux, Plus Cheese's Thoughts And Some Words From Icculus

Eric Chahi's renowned cinematic platformer makes its Linux debut. Read inside for details, plus some quotes from Linux porter Ryan C. Gordon.

Another World - 20th Anniversary Edition Looks Set For Linux

Another World – 20th Anniversary Edition looks like it will give Linux gamers some love thanks to information from the SteamDB.

Pirates, Vikings And Knights II Source Engine Game Coming To Linux

Pirates, Vikings and Knights II is being updated to the latest Valve SDK and with it comes Linux support! Pirates, Vikings and Knights II is a unique, total conversion of the Half-Life 2 Source engine. 3 teams fight each other for kills, objectives and total domination!

Mojang Confirms Microsoft Is Buying The Minecraft Maker

In a move that will shock many, Mojang has finally confirmed the rumours. Microsoft is buying them out, and so Minecraft & Scrolls will be owned by Microsoft.

Terraria Officially Confirmed To Be In Development For Linux, Finally!

Even though it seemed likely from a developer tweeting a screenshot of Terraria on Linux there was never an official confirmation. Until now that is! The developers are now confident enough to confirm it.

Insanity's Blade Released For Linux

Insanity's Blade is an interesting mix of old school action and platforming that is now available to buy and play on Linux. They even offer up a demo for us.

The Sunday Gaming Section, Linux Gaming From Around The Web

Here is some Sunday reading for you from other gaming sites across the internet. Not much generally happens on a Sunday, so let's see what's been going on elsewhere.

A Roundup Of The Last Weeks Linux Gaming

Here is a look back at the last week on GamingOnLinux, an easy way to for you to keep up to date on what has happened in the past week for Linux Gaming!