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

A Guided Tour of LibreOffice

 FOSSforce: The Start Center is a convenient place to get started with recent documents.

HP Picks Up Stackato PaaS to add More Cloud Confusion

InternetNews.com: HP is growing its cloud offering with the acquisition of the Stackato Platform-as-a-Service (PaaS) business from ActiveState.

Open source software is the only way to keep up

 opensource.com: Allison Randal of Hewlett-Packard began her keynote for OSCON 2015 with a quotation I'd never heard: "I think many people assume, wrongly, that a company exists simply to make money.

OpenDaylight Beryllium Takes Shape

Enterprise Networking Planet: Developers at the OpenDaylight Summit discuss their hopes and plans for the next release of open-source Software Defined Networking platform.

The Implications of Cloud Native

redmonk: Two months ago, “Cloud Native” was something of a new term

US Air Force lab: robots, open source, and virtual reality

 opensource.com: Three US Air Force Research Laboratory interns are exploring how open source-powered virtual reality can help students and researchers collaborate.

The right way to fail

 opensource.com: At OSCON this year, Amye Scavarda and Leslie Hawthorn gave a talk entitled "Fear of Failing Fast: How to Avoid Sabotaging Your Success.

Enlightenment 0.19.7 Desktop Environment

 ItRunsOnLinux: The developers of the lightweight desktop environment Enlightenment (used in various Linux distributions) announced their 0.19.7 release.

GamingOnLinux.com Latest Articles

Feral Interactive Have Something Up Their Sleeve For Tomorrow

Tomorrow isn't just my birthday, it's also the day Feral Interactive seem to have something "special" planned for Linux & Mac gamers.Hi Mac…

Psychological Horror Adventure Game 'Fran Bow' To Release Next Month, Has New Trailer

Fran Bow is a creepy point-and-click adventure game about a young girl, who has witnessed the brutal murders of her parents and is sent off to a…

Skullgirls Now In Closed Beta For Linux, Here Are My Thoughts & A Video

I am no stranger to fighting games, and I have been excited to get my hands on Skullgirls! I am lucky enough to be in the closed beta for the Linux…

The Wine Development Release 1.7.48 Is Now Available

Wine team released today another development release of their software. Version 1.7.48 have many small changes including 39 bugfixes. A new issue of…

GOL Cast: Saving Humanity In Nomad Fleet

Nomad Fleet developed by Autarca is a one-man indie strategy game that combines elements from FTL, Homeworld and even Battlestar Galactica into a…

Some Thoughts On Terraria Now It Has A Beta For Linux

Now that Terraria has been released, and I’ve had some time to put into it, here’s my thoughts on this new Linux game. It’s been a…

Bound By Flame RPG May Get A Linux Version

Thanks to SteamDB it seems that Bound By Flame a graphically pleasing RPG may get a Linux version. It has mixed reviews, but it may be worth a look.…

Shadowrun: Hong Kong RPG Arrives On August 20th For Linux

Shadowrun: Hong Kong now has a release date, and it's not far off at all. The game will release on the 20th of August! The good thing is you don't…

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…