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

5 open source alternatives to Trello

Interested in using a kanban board like Trello to help you manage your daily tasks and workflow, but want an open source option?

How to connect via Bluetooth in GNOME on Linux

 HowToForge: Connecting to a Bluetooth device is essential for file transferring, audio sharing (Bluetooth speakers), and shared network connectivity (smartphones).

When everything's a request for comments

 opensource.com: The Internet Engineering Task Force calls its standards publications "requests for comments."

Competing and partnering in IoT market's early days

 EnterprisersProject: Why the Internet of Things is changing the way Federal Signal Corporation thinks about competitors, customers, and partners.

Canonical Says Windows 10 Is a Good Reason to Move to Ubuntu

Canonical is taking a bold stand and is asking a very direct question: Is the launch of Windows 10 a good enough motive to move to Ubuntu?

Xtreme Download Manager (XDM) 2015 Released, Amazing Development By Team, Install/Upgrade XDM 2015 In Ubuntu Linux Or Derivatives

 LinuxandUbuntu: Xtreme Download Manager is a free and open source download manager.

GamingOnLinux.com Latest Articles

Rocket League Officially Coming To Linux/SteamOS, Rocket League & Portal 2 Free With Steam Hardware

Rocket League is massively popular right now, and we are happy to confirm it's heading our way! You even get a free copy with Steam Hardware. The…

Company Of Heroes 2 Released For Linux, Port Report & Thoughts Included

Feral Interactive have ported yet another excellent game, and this time we are graced with Company Of Heroes 2! It’s yet another game I've been…

No Need For Clinical Trials In 'Big Pharma' Now On Linux, Get Making Some Drugs

Big Pharma is a game about creating a factory to build useful drugs, and making money while you do so. I managed to play a build before release, and…

Puzzle Platformer 'In Between' Released On Steam For Linux, Has A Demo

In Between is a story-driven puzzle platformer with gravity rotation mechanics that has the makings of a new classic. It looks similar to gravity…

Universe Sandbox 2 Released In Early Access With Linux Support

You love your space simulation stuff right? Universe Sandbox 2 has released with full support for Linux, so I decided to check it out. Disclosure:…

Unreal Tournament Has Been Updated Again, Here's Another Look On Linux

The new Unreal Tournament has been updated again, and it's sporting a fresh coat of paint on the main menu, amongst other changes. You can download…

Arma 3 Public Linux Beta Soon, Being Used As An Evaluation

Arma 3 is set to see a Linux beta soon, but they will be looking to see how it goes down before they let it graduate anywhere.Speaking on their…

Unity Editor Lands An Experimental Build For Game Developers On Linux

It has arrived folks! The Unity editor for Linux is now available in an experimental build, and I can't wait to see what Linux developers do with it.…

Trine 3 Could See A Linux Alpha Or Beta Release In September

Trine 3 looks absolutely beautiful, and I was sad when it didn't release on Linux day-1, but the good news is the Linux release isn't far off.…

GOL Cast: Maxing Out The Geiger Counter In Nuclear Throne

If a nuclear holocaust were to happen right now it probably would be nothing like Nuclear Throne. But that doesn't mean we shouldn't check out this…

Pillars Of Eternity: The White March Part I Now Available

The first expansion to the engrossing Pillars of Eternity has now launched alongside a massive patch. This is the first part of two planned…

Teeworlds, The Free & Open Source 2D Battle Game Is Now On Steam For Linux

Teeworlds is a great little 2D battle game, and while it has been around for a while it's now just become available on Steam. Steam is great for…

The New Starbound Update Has Arrived With A Great Trailer, Huge Update

It's not often a game can make me stand by and go "wow", but the new Starbound update and trailer has made me do just that. There's a whopping amount…

The Enchanted Cave 2 Available On Linux

The dungeon crawler rogue-like was released for Linux last week. It brings a few twists to the familiar formula that might interest fans of the…

Looks Like Feral Interactive's Linux Ports Will See More AMD Love

Feral Interactive are awesome, that's not exactly news, but they did send out an interesting tweet earlier showing off some new kit.Do you like bits…