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

GParted 0.21 Brings ReFS Detection, EXT4 For RHEL5, Reiser4 For Linux 3.x

Phoronix: Version 0.21 of the widely-used, GUI-based GNOME Partition Editor is now available.

Supercomputing the Evolution of a Model Flower

Scientists take computational approach to evidence of plant climate adaptation using linux-based Stampede and Lonestar supercomputers.

Tiny $26 WiFi-ready IoT SBC runs OpenWRT Linux

 LinuxGizmos: Smart Electronics is prepping a tiny $26 open-source "Black Swift" SBC that runs OpenWRT on an Atheros AR9331 and offers WiFi, dual micro-USB, and header I/O

Clamping down on users with rbash

 ITworld: One way to restrict what users can do on your Linux systems is by using rbash -- the restricted Bourne Again shell --

Setting up a private Docker registry

Why would you want to set up a private registry?

Ghost Vulnerability in glibc Affects All Linux Systems

 ThreatPost: A critical vulnerability has been found in glibc, the GNU C library, that affects all Linux systems dating back to 2000.

MapR Frees Hadoop Education

EnterpriseAppsToday: Big Data vendor provides $50M worth of Hadoop training for free.

How MidoNet is virtualizing open source networks

 opensource.com: MidoNet, an open source network virtualization platform for Infrastructure-as-a-serivice (IaaS) clouds like OpenStack cloud software, is gaining traction as a way to implement networking solutions.

7 communities driving open source development

 NetworkWorld: Here are 7 organizations successfully promoting and developing open technologies, both hardware and software.

GamingOnLinux.com Latest Articles

Darksiders Linux Port Looks Like It Is Still Happening

Darksiders is another big game we are excited about, and sadly the current people in charge of the port haven't replied to our messages, but thanks to SteamDB we can see it's still happening.

The Witcher 2 Has A New Beta For Linux, The Improvements Are Staggering

We know how some of you feel about wrappers, but that's an old argument now. The game is here, and the developers are still working on improving it. The Witcher 2 had a new beta a few days ago, and we took a look and just how much of an improvement it is.

Scirra’s 'Construct' Game Creation Editor To Support Linux With Construct 3

I love the idea of game creation tools that require no programming knowledge, as they enable hobbyists to have fun, quick prototyping and much more. Construct 2 is one of the finest around, and the developers have laid out plans for Construct 3.

Borderlands: The Pre-Sequel New DLC ‘Lady Hammerlock The Baroness Pack’ Lands On Linux

Borderlands: The Pre-Sequel the latest in the Borderlands series that is available on Linux has gained another DLC titled ‘Lady Hammerlock the Baroness Pack’, and this new DLC is available for Linux thanks to Aspyr Media.

Two Worlds II Is Not Coming To Linux, Well Maybe, We Aren't Sure Anymore

Sadly sometimes people go on auto-pilot, and the developer of Two Worlds II and Raven's Cry has confirmed to me they didn't read my previous emails correctly, so Two Worlds II is not coming to Linux, but it might be, confused? I am.

Unfurl Your Scythes, Grim Fandango Is Now Available

Double Fine's remastered version of Grim Fandango has launched and is now available for Linux on Steam, GOG and the Grim Fandango Remastered website.

Majestic Nights, An Episodic Action-adventure-thriller Confirmed To Be In Testing For Linux

Majestic Nights is an episodic action-adventure-thriller set in an alternate 1980s where all conspiracy theories, past and present are True. The developers have looked into it, and have removed parts that don't work on Linux, and so it begins!

Cradle, A Fantastic Looking 3D Adventure Game Shows Linux Progress

Cradle is a really quite good-looking adventure game coming out, and the developers have teased their Linux testing recently.

Dying Light Released For Linux, Some Thoughts, You May Want To Wait

It's quite hard to contain my excitement about this game, but as always we will give it a fair look and tell you what we think about Dying Light. This post continues to be updated, and it's really not good. Updated 28th January for game-breaking bugs.

Star Traders: 4X Empires Strategy Game Now On Linux

Star Traders: 4X Empires has just been released for Linux, so fans of 4X strategy games might want to take a look out our new release.

Dying Light Is Now Confirmed For Linux, Bring It On Techland

Dying Light is now confirmed for Linux thanks to the announcement from the developers on the Steam store itself. The Linux icons show up on the store pages, and the game even has a steam coming soon banner on the home-page. Time to get seriously excited.

Fahrenheit: Indigo Prophecy Remastered Pops Up On Amazon, Has A Tux On The Cover

Something quite curious has appeared on Amazon today. A remaster of a cult game Indigo Prophecy, or Fahrenheit here in Europe, has been added onto the store. And now for the really good bit: the cover has an Aspyr logo and a very familiar penguin.

Linux Kernel Bug Being Fixed Thanks To Linus Torvalds & The Witcher 2

We weren't going to cover this originally, but after thinking on it this is actually great. Thanks to the Linux version of The Witcher 2, a Linux Kernel bug was found as is being fixed.

The Wine Development Release 1.7.35 Is Now Available

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

Never Fear, The Friday Livestream Is Here! (At 6 PM UTC) [VOD Added]

We've had another busy week of busily doing busy stuff, so it's time to lean back and enjoy the weekend. And what is the best way to enjoy weekends? Playing Linux games of course! But if you have the time, you might also enjoy watching me play Linux games and talk about things. Anyway, you are once again welcome to the weekly livestream!