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

Google building full Android IVI stack

 LinuxGizmos: If Android M is for real, the technology would go far beyond its Android Auto initiative announced earlier this year.

How to configure MySQL and MariaDB to accept remote connections

 ITworld: Do you have problems accessing a MySQL or MariaDB Linux server on your local network?

Advance your OpenStack with new guides and howtos

 opensource.com: The very best of recently published how-tos, guides, tutorials, and tips for OpenStack compiled into one handy collection.

Ubuntu Touch to Land with Bq Aquaris e4.5 in February

 softpedia: The privilege of getting the first Ubuntu phone on the market belongs to Bq

Must Have Android Apps That Aren't So Well Known

 Datamation: While a handful of Android apps are clearly on the must have list, there are others not so famous that are also worth downloading.

How strong is peer review in open source?

 OpenSource.com: Code review is common among proprietary software development firms, yet the nature of open source development can pose some challenges.

Mozilla Firefox for Apple IOS iPhone Code Emerges on Github

InternetNews: The new Firefox-ios effort in contrast kinda/sorta looks like it's a real browser.

Creating your First App on Linux with Python and Flask

 techarena51: Whether playing on Linux or working on Linux there is high chance you have come across a program written in python.

How Linux containers can solve a problem for defense virtualization

 OpenSource.com: As the virtualization of U.S. defense agencies commences, the technology's many attributes and drawbacks are becoming apparent.

GamingOnLinux.com Latest Articles

Sokoban-Like Puzzler 'A Good Snowman Is Hard To Build' To Be Released Soon

The winter themed puzzler is the latest invention by one of the creators of the clever puzzle game Sokobond, and it will be released on Steam "before winter's end", according to the teaser website.

Welcome To The Re-launched GamingOnLinux!

Surprise! This new design has been in the works since around the end of September 2014 and we have sent previews around to people a few times, but it's now live!

The Weekly Livestream Is Here Once More At 6 PM UTC!

It's nearly Christmas but it's not yet time to lean back and relax for it's Livestream Friday! So join me while I try some Civ: BE and Interstellar Marines along with your recommended games.

Mount And Blade: Warband DLC "Viking Conquest" Is Out

A new DLC for Mount And Blade: Warband has been released to mixed reception due to it being rather buggy, but it did come with Linux support as standard.

Civilization: Beyond Earth Released For Linux, On Sale & You Can Win Some Keys

Aspyr Media have done it again! Civilization: Beyond Earth is now officially available for Linux. Sadly, all the keys have now gone out to the winners, thanks!

New Minecraft Game Announced Coming From Telltale Games, Linux Status Unknown

Minecraft: Story Mode is a brand new adventure being created around Minecraft, but sadly Linux has been left out in the cold it seems.

Endless Legend Will Come To Linux, Suffering Delays

Thanks to our supporter, FutureSuture, we have word that Endless Legend will still come to Linux, but it has suffered delays.

Move Crates In Odd 3D Platformer 'Job Lozenge'

It's no easy job to explain exactly what Job Lozenge is. That it's a game out of the ordinary is certain though.

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.