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

Articles found under tag: tutorial

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

Grouping things with AWK

By

In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line

By

There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

How to repeat a script, or not

By

I have a data-entry script which adds records to a plain-text data table. It's a fairly complicated script with a GUI dialog, and until recently it added one record at a time. To add another record, I had to launch the script again. Was there a simple way (I asked myself) to re-run the script, or…

Read Article

On dates and stuffed non-dates

By

Nothing gives my wife the Screaming Meemies like dates in spreadsheets. Unless she formats the target cell in advance as text, the spreadsheet will turn a perfectly innocent, non-date string like 23/2/6 into '23-Feb-2006'. When she types 6420-11-3, according to both LibreOffice Calc and Gnumeric,…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

News Elsewhere

Linuxtoday.com

Mozilla Expands Firefox OS Phone Ecosystem With Partners' Help

eWEEK: Firefox OS will power 17 smartphones, including a range of devices combining the form factor of more basic phones like flips, sliders and slates.

How to make meaningful contributions to open source

 opensource.com: While there's a high percentage of polymaths among open source coders, they simply don't have the available time to effectively write, test, document, and market their tool, especially if they're doing this in their free time.

6 Linux-y announcements from Mobile World Congress

 ITworld: Here are some of the major announcements from MWC that show that Linux has become an unstoppable force.

NVIDIA Finds and Corrects Old Compiz Bug That Caused Windows to Go Black in Ubuntu

 softpedia: NVIDIA has fixed a long-standing issue in Ubuntu systems by patching Unity.

Linux 4.0 rc2

Linus Torvalds: So rc2 missed the usual Sunday afternoon timing, because I spent most of the weekend debugging an issue that happened on an old Mac Mini I have around

Linux Top 3: Xfce, Quirky and Tails 1.3

LinuxPlanet: New desktop, new puppy and new security

Oracle VirtualBox Updates to run on Linux 4.0 Kernel

InternetNews: The open-source VirtualBox virtualization project is out with its 4.3.24 update today providing a number of important updates and bug fixes.

The Cat That Has Linux's Tongue

 FOSSforce: When I first decided that I wanted to use text to speech on a daily basis, I began researching and testing the available applications.

GamingOnLinux.com Latest Articles

Zotac Announces A Proper Steam Machine With SteamOS

Now it’s getting really interesting! Zotac has announced a proper Steam Machine with SteamOS, and it looks quite nice too.

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!

Trine 3 Announcement And Trailer Analysis

Finnish developer Frozenbyte has today announced Trine 3: The Artifacts of Power, a third game in their award winning Trine series.

HTC & Valve Announce The HTC RE Vive

Well that was unexpected, Valve and HTC have announced a joint venture at the Mobile World Congress! Introducing the HTC Re Vive headset.

New Linux Gaming Survey For March

The new GOL survey for March is now available, so please make sure to fill it in if you have the time.

Airships: Conquer The Skies Released On Steam For Linux, It’s Fun

Airships is a very interesting indie game that has just released on Steam for Linux, and it’s already impressing me. You are tasked with designing a steampunk airship, and taking over AI kingdoms.