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 to launch new Firefox feature testing program

ComputerWorld: Opt-in deal lets Release channel users tell developers whether a new feature is worthy

How to ruin an open source project: Let us count the ways

InfoWorld: GitHub official Brandon Keepers provides warnings about bad practices that can kill projects

The battle between open-source and proprietary software for drone development

SD Times: Open-source software is helping move along the drone industry with easy access to code

Linux 4.3 Will Have Many Intel Graphics Improvements, Better For Skylake

Phoronix: Daniel Vetter of Intel's Open-Source Technology Center has sent in many Intel DRM driver changes to be queued up in DRM-Next for the Linux 4.3 kernel.

Ubuntu Phone review: years in the making, but still not consumer-ready

engadget: Ubuntu Phone is still very much under development. As such, we've decided not to assign a score to this review since it only represents a snapshot in time.

DreamHost CEO Details OpenStack Customer Use Cases [VIDEO]

Datamation: Simon Anderson, CEO of DreamHost, discusses scenarios where OpenStack makes sense for his customers, even when multiple other hosting options are available.

Android Stagefright Flaw Puts Hundreds of Millions of Users at Risk

eWEEK: A vulnerability in the Stagefright media library used in Android remains unpatched in 95 percent of devices months after first being reported by Zimperium.

Profile of an Everyday FOSS Developer

 FOSSforce: As a layman, the fact that lines of gibberish can be aligned to make a computer do the things wanted or needed is almost miraculous and resides in the shadows between magic and science.

GamingOnLinux.com Latest Articles

The Raven - Legacy Of A Master Thief Now Available On GOG For Linux

The Raven - Legacy of a Master Thief is reasonably well rated crime adventure game, and GOG have now published it in their DRM free library. I've…

Super Dungeon Run, Guiding Hapless Heroes Through A Dungeon On Linux, Some Thoughts

Super Dungeon Run recently released on Steam for Linux in Early Access, and the gameplay sounded interesting so I gave it a run or two.About the game…

Starship Rubicon, A Space Combat Roguelike Updated With A Linux Port, Some Thoughts

Starship Rubicon instantly captured my interest with its mix of space combat, visuals from NASA, and the promise of gameplay like FTL, only you pilot…

The Open Source Project 'Xoreos' Released 0.0.2 'Aribeth'

xoreos is a FLOSS project aiming to reimplement BioWare's Aurora engine (and derivatives), covering their games starting with Neverwinter Nights and…

We Have Ten Copies Of The Fantastic Victor Vran To Give Away!

We love Victor Vran, and we love the developers Haemimont Games for bringing it to Linux. We have teamed up with the developers to throw ten keys at…

Gunscape, FPS World-building Hybrid Launches For Linux September 9th

Gunscape is a mix of first-person shooting, and world building that will be launching out of Early Access on September 9th! What has me interested is…

Submerged, A Third-person Combat-free Adventure Game May Get Linux Support

Submerged was pointed out to us in our forum, and it seems the developers are considering a Linux version, and even testing it right now. The game…

Volo Airsport, An Air Gliding Game Released For Linux, We Have Keys To Throw At You

Volo Airsport is a rather difficult game about gliding through the air, and we have some keys for you lovely Linux gamers. I've tested it out…

Rogue's Tale Dungeon Crawler Released For Linux On Steam

Fans of crawling about in the dark rejoice! Rogue's Tale an interesting looking dungeon crawler now has a Linux version available.About the game…

Cradle, A Beautiful UNiGiNE Powered Sci-fi Adventure Now On Steam For Linux, Plus Thoughts & Video

Cradle is a brand new adventure game from ‘Flying Cafe for Semianimals ‘ that’s now on Steam, I managed to grab a copy to take a…

Knights Of The Old Republic II Hotfixed For Linux, Restored Content Mod Works Now

Excellent news guys, Aspyr Media have pushed out a hotfix for Knights of the Old Republic II Linux that makes it work with the restored content mod.…

Victor Vran Says Goodbye To Early Access, Hello To Being Awesome

It's no secret that I'm a little in love with Victor Vran, and it's now out of Early Access so be sure to pick up a copy. I gave it some thoughts…

Expansion To First-Person Puzzler 'The Talos Principle', 'Road To Gehenna', Has Been Released

The long-awaited Road to Gehenna expansion to last year's first-person puzzle favorite The Talos Principle has been released on Steam, and comes with…

Hey, You! Yes, You! Come Watch The Friday Livestream At 5 PM UTC!

Another week's gone by and it's once again my time to step out of the shadows and enlighten you with my epic gaming skills live! So clear your…

Reassembly, The Awesome Spaceship Sandbox Game Adds Steam Workshop

Reassembly is easily the game that stopped me going insane when I was on nightshifts in December, and now the developer has made it even more awesome…