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

Barbie becomes a Debian developer and creates systemd

 ITworld: A recent Barbie book caused a row over its portrayal of women in technology.

OPNFV Adds Chinese Telecom to Open Source NFV/SDN Partnership

 The VAR Guy: ZTE Corporation, a telecommunications company based in China, has joined the Linux Foundation's OPNFV project for open source network functions virtualization and software-defined networking.

Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On OpenSUSE 13.2

HowToForge: How to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users.

Serve websites with Nginx

Linux User & Developer: Configure Nginx to serve simple websites and see how it’s a serious alternative to Apache

VirtualBox 4.3.20 Released

Today Oracle released VirtualBox 4.3.20, a maintenance release of VirtualBox 4.3 which improves stability and fixes regressions.

Red Hat Pushes Forward with CentOS [VIDEO]

ServerWatch: At the beginning of 2014, Red Hat embraced the community CentOS Linux distribution.

Free Software, Free as in Beer

Datamation: Being available at no cost may not define free software, but it is responsible for many of its ups and downs over the years.

WordPress 4.0.1 Updates Millions of Sites for 8 Flaws

eWEEK: The content management and blogging system automatically updates users for cross-site scripting, request forgery and password-reset-attack protection.

GamingOnLinux.com Latest Articles

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!

Gold Rush! Anniversary Adventure Game Now Available On Linux

Gold Rush! takes you back to the year 1849, when gold was discovered in California. It was certainly one of the most exciting times in American history. Gold Rush! includes the three routes tens of thousands took to the gold regions. Become Jerrod Wilson and experience each trek as you travel from New York to California.

Voice Of Pripyat, Multiplayer First Person Shooter In Early Access

Voice of Pripyat is a multiplayer first person shooter that has popped up on Steam thanks to Greenlight, it looks like it could be interesting too in a stupidly crap way.

Valve Plans A Big Steam Machine Presence At GDC 2015

It seems Valve have no plans to attend CES next year, but they did confirm they are planning a large presence at GDC. Looks like there will be a lot of Steam Machine news next year!

Time To Guess What Feral Interactive Are Working On, New Teaser

Feral Interactive are being sneaky, as they have given a little hint towards their next game, and it's quite obvious it's for Linux.

Soul Axiom, A Sci-fi Action Adventure On Steam

Soul Axiom is a fantastic looking mix of a sci-fi story, action, and adventure wrapped up in a neat early access package.

Bear With Me - 2D Black & White, Point & Click "Horror" Noire Adventure

Are you yearning for something a bit different? Bear With Me might be right up your point & click street.

Pocket Rumble A 2D Fighting Game On Kickstarter

Pocket Rumble is a fun looking 2D fighting game currently on Kickstarter that promises a Linux port if they hit a stretch goal, I know what you're thinking, but look past that for a minute.

Red Awakening, A First Person Action/Horror Game May Be Coming To Linux

Red Awakening, the First Person Action/Horror game by the guys over at Domino Effect, may be coming to Linux. The developer confirmed this is a real possibility in an email.

Aspyr Media Have A New Blog Post On Porting Civilization: Beyond Earth To Linux

Another blog post from Aspyr Media has surfaced about their porting efforts on Civilization: Beyond Earth, and the news is looking good.

TinyKeep Dungeon Crawler Linux Version Released, It's Good

In TinyKeep players will embrace the role of a hopeless prisoner held deep in a forgotten dungeon who one day wakes up to find themselves mysteriously released.

The Darksiders Linux Port Has Switched Hands

Leszek Godlewski announced on Twitter that he will be leaving the Linux porting business, but the news isn't that bad. One of the original coders is taking over the Linux port of Darksiders.

Geometry Wars 3: Dimensions Confirmed For Linux

Geometry Wars 3: Dimensions is the next in line of the crazy neon coloured action game. The new version has been confirmed for Linux too! We even managed to find out who is doing the port!