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

Resurrecting the Armadillo

LinuxJournal: 1999 was a crazy year for business on the Internet, and for Linux.

Android Pay: Mobile Payment Systems, Unite

LinuxInsider: Android Pay will be an API layer of Android.

Ubuntu Cloud Switches Over To Using Systemd By Default

Phoronix: Ubuntu Cloud is the first official Ubuntu Linux flavor to have switched over to systemd by default as a replacement to Upstart.

Pulling Remote Word Documents from RAM using Kali Linux

cyberarms: In this tutorial we will see how to pull a Word document from a remote machine’s memory, parse it for text and view it in Kali Linux.

Demand for Linux Skills Growing Faster Than Talent Pool: Report

eWEEK: While 92 percent of hiring managers plan to hire Linux pros in the next 6 months, 88 percent said it's very or somewhat difficult to find qualified candidates.

7 Reasons Zenwalk Should Now Be On Your Radar

makeuseoff: Linux users: it’s time to check out Zenwalk again.

A List Of Free And Open Source Control Panels

unixmen: To manage your businesses and your websites remotely you need to use control panels.

New Ubuntu Phone Separates the App from the Data

Wall St. Journal: The open-source, Ubuntu-powered mobile phone is moving forward once again, according to Mark Shuttleworth, founder of both Canonical and the Ubuntu Linux operating system.

Source Engine 2, Steam Link And More Announced At GDC

 GamingOnLinux: This is what we have been waiting for

GamingOnLinux.com Latest Articles

Torchlight II Now On Linux, Old News By A Day, But Here’s My Report

You know since yesterday with our massive SteamOS news post that Torchlight II is now on Linux, but since the dust is settling we have had some time to check out the port, here’s how it runs.

14 Steam Machines Revealed At GDC, Some Thoughts

With GDC being in full swing we’ve had a chance to take a look at 14 different models of Steam Machine thanks to Ars Technica, and the findings are interesting.

Planetary Annihilation Making A Go At Linux Stability, Report Your Bugs

Just a friendly note that Uber Entertainment are wanting feedback on Linux issues in Planetary Annihilation, as they want to make it a great experience.

Lots Of Big Games Confirmed For SteamOS, Torchlight II Now Out, Payday 2, Mordor And More Coming Too

Valve has announced a Steam sale simply titled ”STEAMOS SALE” with interesting games that are already available and games that they claim are heading over to the platform. The list seems to include some quite big titles too!

Zotac Announces A Proper Steam Machine With SteamOS (Updated)

Now it’s getting really interesting! Zotac has announced a proper Steam Machine with SteamOS, and it looks quite nice too. (Updated: See the bottom).

Source Engine 2, Steam Link And More Announced At GDC

This is what we have been waiting for, Valve sent out official word about a number of things! These include Source 2, Steam Link and more.

Mad Max From Avalanche Studios Confirmed For Linux

You like car games right? Well the crazy and amazing looking Mad Max has been confirmed for Linux/SteamOS.

Bard To The Future, And My Brutally Honest Look At This Platformer

Weirdest setting for a game ever award goes to Bard to the Future, a new platformer now available on Linux. I take my usual look to tell you what to do with your wallets.

Unreal Tournament Has Come A Long Way, New Beautiful Map Included

The new free Unreal Tournament has come a long way in a short time, and it’s getting better with each new release!

The Funding Crowd 42

Finally we come to issue #42, which seems an appropriate occasion to come clean and confess that we are not really The Funding Crowd, but merely A Funding Crowd. Didn't you hear that we come in six-packs?

DRM Free Games Sales Orgy With GOG's Double Insomnia Promo

Since earlier yesterday and till next Friday a new Insomnia Promo is taking place at GOG.com, the first one since this store started supporting Linux.

Vulkan Really Is The Official Name Of The Next Generation OpenGL Initiative

It has been officially announced now, so Vulkan API it is! We are entering a new era of graphical performance.

GOL Survey Results: February

The results for the February survey are now available for you to take a look at and compare with results from previous months.

Worms Clan Wars Now Available On Linux

Need your fix of Worms? Worms Clan Wars is now available natively on Linux, and a massive sale too! Time to send in the exploding sheep!

Unreal Engine Is Now Free, Including Access To The Source Code

Today became a pretty good day to be a developer! Unreal Engine has dropped the monthly subscription, so anyone can jump in and tinker!