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

Articles found under tag: scripting

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 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

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

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

News Elsewhere

Linuxtoday.com

Why large companies use open source ERP

 opensource.com: In many cases, when you are implementing an open source ERP system for a large organization, a new interface shell is created outside of the core system to meet the business needs

IBM DB2 Installation on Red Hat Enterprise Linux

 nextstep4IT: IBM DB2 is a next generation data platform for transactional and analytical operations.

How to make your bash prompts more useful and interesting

 ITworld: Had enough of $ and #? You can make your bash prompts far more interesting and likely a lot more useful by customizing them.

Ubuntu MATE Donates Money to a Project That Helped Them with Features

 softpedia: There was quite a furious debate in the Linux community about what the elementary OS devs said about financial contributions from the community.

Firefox OS heading for Africa -- and the U.S. too

 LinuxGizmos: Orange announced a $40 "Klif" Firefox OS phone for Africa, and Mozilla says it???s working with Verizon Wireless and others on Firefox OS feature phones.

How Could VARs Use the $89 Ubuntu Linux Symple PC?

 The VAR Guy: The founder of the Symple PC, an $89 computer that runs Canonical's Ubuntu Linux 14.04 and is built from recycled hardware, envisions the device as a key part of VAR services.

4 ways to free up money for IT innovation

 EnterprisersProject: Freeing up money in your IT budget for innovation might be easier than you realize.

Worms Clan Wars Now Available On Linux

 GamingOnLinux: Need your fix of Worms? Worms Clan Wars is now available natively on Linux

How to run Linux and Chrome OS on your Chromebook

 ITworld: Love your Chromebook, but want to run Linux programs simultaneously too? Now you can.

GamingOnLinux.com Latest Articles

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.

Mussel, A Free Underwater Shooter, Synced To A Single Killer Chiptune Track

Today's boredom buster is Mussel, a highly interesting, and well executed retro looking arcade shooter, and the music is great too.

‘VULKAN’ Could Possibly Be The Official Name Of The OpenGL Successor

It seems a recent trademark request from 'The Khronos Group Inc.' includes a new API named ‘VULKAN’.

Ars Technica On The State Of Linux Gaming

I, amongst others like Icculus and Aspyr, had the pleasure of speaking to Kyle Orland from Ars about the past, present and future of Linux gaming.

Insurgency FPS Finally Gearing Up For A Linux Release

It’s been a long time coming, but the FPS game Insurgency is finally looking like it may release on Linux.