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

12 Must Have Android Apps

 Datamation: A collection of must have Android apps for tasks you handle most every day.

Take Control With Open Source Hardware

Linux.com: Free and open source software are no good without open hardware.

SUSE Linux - Zypper Command Examples

 LinuxTechi: Zypper is command line interface in SuSE Linux which is used to install, update, remove software, manage repositories, perform various queries, and lot more

Modular smartwatch runs Tizen on Edison

 LinuxGizmos: A startup is prepping a modular "Blocks" watch that runs Tizen on an Atom-based Intel Edison module, and houses modular components in the watchband links.

25 Linux Performance Monitoring Tools

 Linoxide: A list of the most used and most useful tools to monitor the performance for your box.

Four Simple Words to Remember on FOSS Forums

 FOSSforce: The problem here is that this lack of civility, this absence of open-mindedness, and this departure from decent behavior scales in an enormous way in FOSS

An Everyday Linux User Review Of 4MLinux

 EveryDayLinuxUser: 4MLinux is a mini Linux distribution.

Mobile pico projector does surround sound too

 LinuxGizmos: A mobile, Android A/V robot on Kickstarter called the "Keecker" offers surround sound, a pico projector, a panoramic camera, sensors, and 1TB of storage.

GamingOnLinux.com Latest Articles

Devil's Dare Action Game Released For Linux On Steam

Devil's Dare is a 2D zombie beat'em up, supporting up to 4 players to co-op and fight together locally. Being the spritual successor to Bitejacker, Devil's Dare carries the same theme of parodies, pitting classic game heroes against monsters straight out of 90s horror movies.

Unreal Tournament Has Public Builds Available For All Platforms Now

The new Unreal Tournament is being built out in the open and with community input as we already know, but now anyone who is logged into their forum can get access to the builds.

Icewind Dale: Enhanced Edition Arrives For Linux This Month

Icewind Dale: Enhanced Edition will officially arrive on the 30th of October, and this will be a same-day Linux release too.

The Dark Descent Of Frictional Games: Part One

In the first of a two part opinion series, we will explore how the Penumbra games through a process of gradual evolution created a solid design template for later Frictional Games titles to follow.

Airships Early Access F5 Introduces Ramming, Boarding

Airships early access version 5 is out. This release introduces boarding combat, ramming prows, and new ship modules such as sails - and music!

Civilization: Beyond Earth Linux Release Date Cleared Up

Civilization: Beyond Earth is coming to Linux and the Linux release has been cleared up a bit in terms of when we can expect it.

Warlock 2: The Exiled Now On Linux

Warlock 2 is a turn-based strategy game of fantasy warfare. Rival against Great Mages, lead mighty armies into fierce battles, wield ancient magic and faith as your weapons. It is now available on Linux, and a new expansion has been released alongside it too.

Door Kickers Officially Released Today

The tactical squad shooter has been in Steam Early Access since 3rd September of last year, but was officially released today. The game is now available for Linux through retailers such as GOG, Humble Store and Steam.

Poltergeist: A Pixelated Horror Released On Steam

Poltergeist is Colombian developer Glitchy Pixel's first commercial game but they've already got several free games under their belt. This is an interesting looking puzzle game which has made its way through Steam Greenlight and is now ready for release both DRM free and on Steam.

Indie Developer Threatens Gabe Newell, Game Removed From Steam

In a case of common sense going out the Window, Mike Maulbeck developer of the game Paranautical Activity that was only just released in full on Steam has been a bit of an idiot.

Paranautical Activity FPS Is Now Out Of Beta

Paranautical Activity drew a bit of ire when they cancelled a bunch of features and decided they were calling it quits, but the game is now fully out and looks fun!

GOG Now Have Over 100 Linux Games, New Classics Include Baldur's Gate

GOG are becoming more useful for Linux gamers, as in the last week they have hit over 100 Linux games on their store!

Dragonsphere, Darklands & More Classics Added To Steam For Linux

Looks like Night Dive Studios are at it again! Some classics have been added to Steam for Linux which include Dragonsphere & Darklands.

GOL Cast: Trying To Strike A Profit In Merchants Of Kaidan

I talk a lot about Early Access, because the majority of games sent to us are on there. The games there range from awesome to awful, and Merchants of Kaidan has a bit of both.

The Wine Development Release 1.7.29 Is Now Available.

Wine development team was able to produce a new experimental release today. 1.7.29 bringing many new features and as many as 44 bugfixes.