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

GitHub Raises $250M Series B Round To Take Risks

TechCrunch: The company, which was founded back in 2008, has now taken a total of $350 million in outside funding.

Teach coding with games: a review of Codewars and CodeCombat

 opensource.com: Teacher Horst Jens tests and reviews to learn-to-code sites: CodeCombat and Codewars.

3 Twitter Clients For Linux That You Don't Want To Miss

 LinuxAndUbuntu: There are numerous of twitter clients for Linux that notify on the desktop whenever something happens on twitter.

Open Source Is Going Even More Open—Because It Has To

Wired: Google often gives its software away for free. It has long believed in open source software.

OpenDaylight dawn: Open-source software defined networking goes into production

ZDnet: OpenDaylight, the open-source, software-defined network, is moving from the lab into full-scale production.

Apache Mesos 0.23.0 Released

The latest Mesos release, 0.23.0, is now available for download.

Life in a Post-Container World and Why Linux Will Play a Diminished Role

The New Stack: Right now containers are all the rage.

Oracle Linux 6.7 Officially Released with Unbreakable Enterprise 3.18.13 Kernel

 softpedia: Prominent features of Oracle Linux 6.7 include OpenSCAP

The growing appeal of open source in the enterprise

 EnterprisersProject: Why The American Cancer Society is embracing open source for its mission-critical IT.

GamingOnLinux.com Latest Articles

Virtual Programming Have Been Busy, Looks Like They Are Doing The Arma 3 Port

Thanks to the about page on Virtual Programming's official store, we have found out that they are the mystery external porter of Arma 3 that should…

Casual Clickers 'AdVenture Capitalist' And 'Time Clickers' Now On Steam For Linux

AdVenture Capitalist is a so-called "idle game" that has been available as a Flash game on Kongregate since last year, and is now available for Linux…

DiRT Showdown Confirmed For Linux By Virtual Programming, Pre-orders Open Up

DiRT Showdown is a good looking racer that is now officially confirmed for Linux, and it is available to pre-order. We didn't know who was doing the…

Codename CURE, A First Person, Co-operative Zombie Game Now On Linux

Codename CURE is a reasonable well rated first-person shooter on Steam, and it has been updated to include a Linux version. The game is free to play,…

Nuclear Throne, The Action Roguelike Has A Load Of New Content

It has been a while since I covered Nuclear Throne, and it's getting more awesome with every new build. In the latest build Nuclear Throne now has…

This Friday We Will Venture Into Mordor Live At 5 PM UTC

It's probably not going to come to you as a surprise that we are going to play Shadow Of Mordor on today's stream. So, prepare yourselves, man…

Don't Be Patchman Is The First Game On Steam To Be Linux Only

Don't Be Patchman is releasing very soon on Steam, and it's going to start by being a Linux-exclusive title. This won't stay forever though, but the…

Ziggurat Update 12 Has Been Released, Arrives On GOG

It's been a while since we last mentioned Ziggurat but the arrival of update #12 has given me a reason to remind you of this quite awesome game. The…

Middle-earth: Shadow Of Mordor Released For Linux, We Love You Feral Interactive

Feral Interactive have released an absolute whopper—Middle-earth: Shadow of Mordor is now actually available for Linux. This is a seriously…

Dying Light Reveals Upcoming Content In A New Teaser

I do love Dying Light (apart from the ending), and it looks like it will get a fresh coat of paint soon with new content. The trailer shows off some…

Retro City Rampage DX Parody Game Released For Linux, Some Thoughts On This Nostalgia Trip

Retro City Rampage is a bit of a love letter to the 80's and 90's gaming, and it just had a surprise Linux release. Retro City Rampage is a bit of a…

Q.U.B.E: Director's Cut, A Brain-twisting First Person Puzzler Is Being Ported To Linux

Q.U.B.E: Director's Cut is an excellent looking first person puzzle game, and the developer has confirmed Linux & Mac ports are currently in…

Retro-Pixel Castles, A Hybrid Godlike Village Simulator Thoughts & Key Giveaway

I’ve been keeping an eye on Retro-Pixel Castles for a while, and I decided to let it mature a bit. I’ve now given it some thoughts, and I…

Feral Interactive Have Something Up Their Sleeve For Tomorrow

Tomorrow isn't just my birthday, it's also the day Feral Interactive seem to have something "special" planned for Linux & Mac gamers.Hi Mac…

Psychological Horror Adventure Game 'Fran Bow' To Release Next Month, Has New Trailer

Fran Bow is a creepy point-and-click adventure game about a young girl, who has witnessed the brutal murders of her parents and is sent off to a…