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

Articles found under tag: linux-shell

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

A Pivot Table In AWK

By

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read Article

Why I (sometimes) love regular expressions

By

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read Article

Scripting a 'Find-and-Replace' for big text files

By

EDIT 26/04/2014 I wrote the original fandr script to do single-word replacements in big files. To do multiple-word find-and-replace, the 'needle' variables have to be double-quoted, as in the revised script below. An example of a multiple-word replacement is at the end of this article. I use two…

Read Article

Multiple-item data entry with YAD

By

YAD (Yet Another Dialog) creates GUI dialogs for data entry, user notification, etc. It was written by Victor Ananjevsky and is described as a fork of Zenity. In fact, it greatly extends Zenity and has a very large number of handy options. Here I explain how to build a multiple-item data entry form…

Read Article

Scripting an OCR text archiver for Trove

By

Trove is the National Library of Australia's online database. It contains almost 400 000 000 digital items, including Australian newspaper articles from 1803 to 1954. Trove's newspaper portal is particularly useful. You can view an entire digitised newspaper page, or select (or search for) an…

Read Article

How to kill blank lines elegantly

By

If you do a Web search for 'linux delete blank lines' you'll find lots of command-line advice. Some of the advice, though, only applies to special cases. Here I explain two elegant and general methods for finding and deleting any blank lines in a text file. As a sample text I'll use the 8-line file…

Read Article

Building a gazetteer table from KML files

By

Geoscience Australia has a freely downloadable gazetteer of Australian placenames with more than 370 000 entries. The download is a .zip file (83 mb) containing a user guide together with placenames data in GML, KML and Microsoft Access (.mdb) formats. What I wanted from all that data was a simple…

Read Article

News Elsewhere

Linuxtoday.com

Jonathan Riddell (Kubuntu) demands your hugs

ocsmag: Jonathan Riddell, the main developer of Kubuntu (and of large chunks of Ubuntu) has scaled up his personal war on Canonical’s licensing of Intellectual Property

Mozilla's Bugzilla Hacked, Exposing Firefox Zero-Days

eWEEK: The good news in this bad situation is that Firefox is already patched for all the issues.

OpenSSL Security: A Year in Review

Over the last 10 years, OpenSSL has published advisories on over 100 vulnerabilities.

Android Candy: Copay—the Next-Generation Bitcoin Wallet

LinuxJournal: If you want to manage your own Bitcoin without trusting an on-line cloud provider, Copay puts the control in your hands.

EXT4 Updates Are Pretty Boring For Linux 4.3

Phoronix: The EXT4 file-system updates have been sent in for the Linux 4.3 kernel.

Transcribe Speech To Text With Linux And Google

Freedom Penguin: Sometimes in life, you run into situations where turning a voice recording into a text document is necessary.

The Best And Worst Of Linux Gaming

 EveryDayLinuxUser: This article looks at the best and worst options for gaming within Linux

GNOME 3.18 Beta 2 Officially Released, Final Version Coming on September 23

 softpedia: The development cycle of the GNOME 3.18 desktop environment will continue with the Release Candidate (GNOME 3.17.92 RC) version, which should be seeded to testers worldwide starting September 16

Samsung rolls out a round, Tizen-based Gear S2 watch

 LinuxGizmos: Samsung debuted its gen 2 smartwatch: a round, 11.5mm thick "Gear S2" device with a 1.2-inch 360 pixel AMOLED display.

GamingOnLinux.com Latest Articles

Armello, A Grim Fairy-tale Game That Plays Like A Board Game, It’s Very Fun

Armello is a game of chance, trickery and cards as you try to outwit your opponents at every turn to become the King. Disclosure: Both of our keys…

Sink Into The Crushing Isolation Of SOMA - New Trailer

Launch day for SOMA is coming really close now, and it will launch on the 22nd of September. We are looking forward to needing spare pants after…

Friday Livestream Coming To You At 5 PM UTC!

The time has come to once again do the sacred weekly ritual we call the Friday Livestream. And, as always, I'm going to be bringing Linux gaming to…

Maia 0.5 Stardystopia Released, It’s A Pretty Huge Update To The Colony Builder

Maia is a close favourite project of mine, and I really can’t wait to see it get more content. Thankfully the latest version has been released…

Illuminascii, A Weird FPS With An ASCII Text Based Visual Style

I do love my FPS games, but I'm not entirely sure about Illuminascii. It mixes traditional graphics with ASCII for a really cool effect, but the…

Twin Stick Shooter Assault Android Cactus To Be Released Sept 23rd, Plus Some Early Access Reflections

It's not often that I get excited about seeing "FOR IMMEDIATE RELEASE" in my in-box, but today's announcement that Assault Android Cactus has a set…

New Trailer Released For Time Jumping Puzzler Induction

Induction creator Bryan Gale recently released a new trailer for his upcoming game, featuring music by Duet composer Tim Shiel. The music in the new…

Grand Ages: Medieval From Kalypso Media Digital Looks Like It Will Be On Linux

Another good looking strategy game looks bound for Linux, this time it's Grand Ages: Medieval from Kalypso Media and Gaming Minds Studios. Recently…

Medieval II: Total War Looks Set For Linux, Possibly From Feral Interactive

Medieval II: Total War has popped up on SteamDB with Linux information, and we also have Feral Interactive teasing us on twitter again, looks like…

Nvidia Video From SIGGRAPH Talks About Vulkan

One video that got buried in my inbox of games was the Nvidia video from SIGGRAPH, so here it is. Packed full of lovely info. It's almost an hour…

New Linux Gaming Survey For September

It's that time of the month again Linux gamers! The new GOL survey for September is now available, so please make sure to fill it in if you have the…

GOL Asks: What Was Your Favourite Linux Game Release In August?

As part of an ongoing series of asking you stuff, today I ask "What was your favourite Linux game release from August?". Personally, I'm seriously…

Gas Guzzlers Extreme Could Still Come To Linux, Nice Surprise

I had given up hope of seeing Gas Guzzlers Extreme on Linux, but it seems the developers have found a new porter. On the 30th of August the developer…

Obsidian Entertainment Say Linux's Future Is Good With Pillars Of Eternity

Recently, we accepted an article that quoted Obsidian Entertainment saying Linux wasn't worth it. That same developer now has nicer comments about it…

Insurgency FPS Should Be On Linux By The SteamOS Launch

It has been a long time coming, but it seems Insurgency will be with us within the next few months. The developer said it was important. They…