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

How to set the PATH variable in Bash

 LinuxBSDos: The Bash shell is a command language interpreter for Linux and other Unix-like operating systems.

Eight Important Facts About the OpenStack Cloud Platform from the latest User Survey

eWEEK: The most popular deployment type for OpenStack is as an on-premises private cloud, according the recent OpenStack user survey, which is based on 669 responses from cloud operators and users.

Pear OS Linux Concept Revived as Pearl Linux 1.0 - Screenshot Tour

 softpedia: Pear OS Linux was a very successful Linux distribution based on Ubuntu that wanted to provide an experience similar to Mac OS X.

LinEnum – Linux Enumeration & Privilege Escalation Tool

darknet: LinEnum will automate many Local Linux Enumeration & Privilege Escalation checks

What’s the Difference Between Chromium and Chrome?

HowToGeek: Chromium is the open-source project that forms the basis for Google Chrome.

9 Useful Gnome Shell Extensions for Linux

MakeTechEasier: Gnome Shell allows you to modify it any way you want by installing extensions.

GamingOnLinux.com Latest Articles

New Blog Post On Porting Civilization: Beyond Earth From Aspyr Media

Aspyr Media has posted a new update about Civilization: Beyond Earth on their developers blog and it looks like the game might be out in time for Christmas.

Interstellar Marines FPS Update Number 15, Stealth Supressed

Interstellar Marines continues to get more and more awesome with update number 15. With two more co-op & single-player maps, as well as brand new stealth options.

Geometry Wars 3: Dimensions Released On Steam For Linux

Thanks to Aspyr Media we now have Geometry Wars 3: Dimensions day 1 on Linux, and the reviews are good.

Daedalic Entertainment Announces Publishing Deal With Mimimi Productions

Today the acclaimed German developer and publisher announced that they will be publishing the next game from Mimimi Productions, the developer of the award-winning 3D platformer The Last Tinker™: City of Colors. The new game will be a real-time tactical stealth game and is slated for release in 2016.

0 A.D. Progress Report, Programmers Needed

The 0 A.D. team have been extremely busy as always to bring us the latest and greatest in open source RTS gaming.

Shroud Of The Avatar: Forsaken Virtues RPG Released On Steam For Linux

Shroud of the Avatar: Forsaken Virtues aims to be a rather massive RPG. I say it aims to be as it's currently in early access, and it has a long way to, but it looks great already.

An Update On The Stonehearth Linux Port

The city builder Stonehearth which reached their Linux stretch goal back in the Kickstarter campaign is closing in on the ports both to Mac and Linux, which will evidently happen at the same time.

Toast Time, A Retro Throwback With An Apparent British Sense Of Humour

Toast Time is a throwback to the golden age of video games where old-school homebrew titles fused arcade action with a distinctly British sense of humour.

Gunslugs 2, An Action Platformer That Will Be Great For Speedruns

Gunslugs 2 is the sequel to the mobile game Gunslugs that has some insanely over the top action, and it will be great for fans of speedruns.

Action Platformer 'Red Goddess' Has A Trailer And Is Due Out In February

A trailer was released for the Kickstarter funded game earlier this month, and with an estimated release date of February it might be one of the first Unreal Engine 4 powered games to release on Linux.

Natural Selection 2 Community Developers Need OpenGL Help

Natural Selection 2 development was handed to the community a while ago, but some Linux bugs with OpenGL are making the game on Linux crash happy.

Kinetic Void, A Space Sandbox Game Exits Early Access

Kinetic Void is a 3D space adventure with a focus on customization and exploration. It has been on Linux for quite some time, but in the last few days that have polished it enough to exit early access.

7 Days To Die, A Sandbox Zombie Survival Game Finally Arrives On Linux

It has been a bumpy ride, and that's putting it nicely, but 7 Days To Die is finally on Linux for us to enjoy some zombie smashing.

What Can You Do For Linux Gaming?

An editorial talking about what you can do for Linux gaming. Including when to buy games, and what distribution to use to make sure you get support.

Free Balling, A Physics & Drawing Game, Tossing Building Games To The Next Level

In a world where one ball's life hangs in the balance against an infinite amount of track, that you draw!