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

Articles found under tag: scripting

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

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

News Elsewhere

Linuxtoday.com

Old school Linux terminal fun revisited

blackmoreops: Instead of letting that cow sat every fortune quotes, we've upped it to let all sorts of animals saying funny quotes.

How to setup a mail server with Postfix and Dovecot on Ubuntu / Debian

 binarytides: This tutorial shows you how to setup Postfix (smtp server) and Dovecot (imap/pop server).

Civilization: Beyond Earth for Linux Launches Tomorrow, December 18

 softpedia: Sid Meier's Civilization: Beyond Earth, the latest title in the Civilization franchise, is finally coming to the Linux platform and the released date is tomorrow, December 18.

Linux Malware vs Phishing Schemes

 Datamation: For years now, we've been told about the dangers of how various types of malware like worms and other threats were going to catch the growing Linux user base off guard.

Priv8 adds sandboxed tabs to Firefox

gHacks: The new Firefox add-on Priv8 adds sandboxed tabs to the web browser using the security model of Firefox OS.

KDE Ships Plasma 5.1.2, Bugfix Release for December

The bugfixes are typically small but important

Getting Started With KODI(XBMC)

MaximumPC: It may have started as a media center for the original Xbox, but KODI (formerly XBMC) has since evolved into a full-fledged application with a huge library of add-ons generated by diehard fans and users.

The fall of GPL and the rise of permissive open-source licenses

ZDnet: The GPL is still the world's most popular open-source license but it's declining in use, while permissive licenses are gaining more fans, and some developers are choosing to release code without any license at all.

Pay For Faster Linux Kernel Performance? There's Patches For That

Phoronix: The eXt73 patch-set is designed to offer greater performance and reduced power usage on an otherwise generic Linux kernel image.

GamingOnLinux.com Latest Articles

Windows Games On Linux, WINE & PlayOnLinux

Although WINE is a difficult beast to tame, it can be done quite effectively with a little help from a program called PlayOnLinux

New EU Tax Rule Could Ruin A Lot Of Indie Developers

Not something we cover very often, but it seems the EU is introducing new rules that could really ruin things for indie developers. It could also cause price changes across many stores.

Interstellar Marines Update 16 “Assault On Starcrown Aerospace” Is Live

One of my favourite tactical FPS games on Linux just released an update that adds the second campaign map to the game, along with some gameplay fixes.

SuperTuxKart 0.8.2 Beta Released

This update hauls the new graphical engine "Antartica". The highlight of this new engine is the improved light and shadow rendering which makes STK 0.8.2 looks much better than previous versions.

Gorgeous Stealth Platformer 'Fossil Echo' Is Coming To Linux, Trailer Has Been Released

Fossil Echo is a hand-animated game about a boy on a great journey to reach a giant tower in the middle of the sea. It's influenced by the Oddworld series, Ico and Studio Ghibli films.

Deadnaut From Screwfly Studios Needing Linux Feedback

Screwfly Studios second game 'Deadnaut' is looking to come to Linux, but their new Linux demo needs some testing and feedback first. Get to work people!

Hearthlands City Builder Now On Steam For Linux

Hearthlands is the fantastic looking city builder in early access that we took a look at recently, and it is now on Steam.

Civilization: Beyond Earth Arrives On Linux This Thursday

Aspyr Media have announced that the Linux version of Civilization: Beyond Earth will release on Thursday at 12PM CST/6PM UTC.

Kerbal Space Program Goes Beta, Beta Late Than Never

Kerbal Space Program has been updated again with a huge update, and brings it into the "beta" phase of development. They will now start to implement the final major components to career mode.

Godot Engine 1.0 Is Out, Open Source Game Engine & Editor

The newly open-sourced game engine Godot received its first major release today! In the middle of the winter game-jam too, even though the release candidates have been out for a week or so.

No, Final Fantasy XIII-2 Probably Isn't Coming To Linux

Sorry to be the bringer of bad news, but it seems some Linux websites are claiming that Fantasy XIII-2 will come to Linux. Sadly, this is not actually the case.

Survival RPG 'NEO Scavenger' Officially Launched

The post-apocalyptic survival RPG was officially launched yesterday after nearly four years in development. A demo of the game is available and it looks good.

Massive Starbound Update Coming Soon, New Huge Trailer

It's not secret that Starbound hasn't updated their "stable" branch for a while, but that is going to end early next year with lots to come. The new trailer has me very excited.

Roguelike 19th Century Exploration Simulator 'Curious Expedition' Available In Web Alpha

The full game will be available as an offline DRM free version next summer, but the developer, Maschinen-Mensch, has released an alpha to gather player feedback to help balance procedural aspects of the game.

GOL Cast: Fighting The Wreckoning In Cosmochoria

This intriguing piece of arcade-y space adventure was sent to us some time ago and I finally got around to trying it out on a relatively recent livestream and it surprised me positively. Here are my thoughts on it along with some gameplay.