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

3 best practices for bootstrapping an open source business

 Opensource.com: Go to the networking and speaking events of any local startup community in America and you'll quickly discover a dominant theme: investment.

At Birth, Open Source Was About Saving Money, Not Sharing Code

 The VAR Guy: Linus Torvalds and the early supporters of the Linux project were interested primarily in a free-as-in-beer operating system, not ensuring that source code would be freely accessible.

VMware Launches Lightwave and Photon for Linux Containers

ServerWatch: VMware is expanding its embrace of Linux containers in a big way today with the launch of a pair of efforts that aim to enable a new era of cloud-native applications.

How to Install and Configure NTP (Network Time Protocol) Server/Client in Debian Linux

 tecmint: Time synchronization is important for many reasons ranging from application time stamps to security to proper log entries.

Encryptr Zero-Knowledge System Based Password Manager For Linux

 LinuxandUbuntu: Encryptr is free and Open-Source password manager that is based on a very secure 'Zero-Knowledge Crypton Framework'.

FOSS Is Everywhere, Dell's New Linux Try & More...

 FOSSforce: Seriously, Dell? Would it absolutely, positively kill you to provide a bunch of Ubuntu-laden XPS 13s to a huge vendor like Best Buy

GNOME 3.18 to Bring GNOME Shell and Calendar Improvements, Might Offer a Full Wayland Session

 softpedia: The GNOME developers promise to work hard on bringing a full Wayland session with GNOME 3.18

Wine development release 1.7.41

 ItRunsOnLinux: The latest development release of Wine has improved kernel job object support.

Egg-shaped Linux mini-PC targets emerging markets

 LinuxGizmos: An "Endless Computers" Kickstarter project is pitching a Celeron-based PC for emerging markets starting at $169, featuring a new "Endless OS" Linux distro.

GamingOnLinux.com Latest Articles

Zenzizenzic, An Awesome Bullet-hell Shooter On Linux, With Some Thoughts

Zenzizenzic has recently release for Linux and I hadn't played a bullet-hell games for a while, so I took a look and it turns out to be quite good.…

GOL Cast: Exploring The Flying City In Bioshock Infinite

You might have seen our port report of Bioshock Infinite and might already know that, against all expectations, it performs really nicely. But let's…

The Banner Saga Linux Port Report, It's A Good One

Now that The Banner Saga has been out for a few days I’ve taken a look at it. It’s a newly ported game, so if you haven’t picked it…

Chroma Squad, A Power Rangers Inspired Tactical RPG Releasing For Linux This April

Chroma Squad is a game I've been following for a while, and the release is nearly upon us. Will you be grabbing a copy? It is due for release on the…

Action Platformer Slinki Released On Steam, A Demo Is Available

Slinki is an action platformer, developed by Titan Forged Games, where you control a rabbit with a prosthetic arm. The game has been available for…

Sales Statistics For Linux Games From Different Developers, Part 4

You would hopefully have seen my previous articles talking to multiple developers about their Linux sales, so to begin a new year we are talking to a…

Fallen: A2P Protocol, A Post-apocalyptic Turn Based Strategy Released For Linux, Some Thoughts

Fallen: A2P Protocol is a pretty good looking turn based strategy currently in Early Access, and I have been graced with a key to take a look at…

Kart Racer 'Coffin Dodgers' Adds Linux Support To Early Access

The early access racer Coffin Dodgers has been updated and now has Linux support. As far as premises go, this one is one of the more original ones…

Freedom Planet Officially Released On Linux

The colourful action platformer Freedom Planet now has been officially launched for Linux.Offical AboutSteamFight your way across the celestial…

Storm United, A Beautiful New FPS Now In Early Access, We Have Keys

Storm United is a new first person shooter built in Unreal Engine that looks absolutely stunning. The developers have just released the game into…

The Wine Development Release 1.7.41 Is Now Available

Wine development team was able to produce a new experimental release today. 1.7.41 bringing many new features and as many as 41 bugfixes. The few…

The Weekly Livestream Is Here At 5.30 PM!

My calender says it's Friday so it's time for The Weekly Livestream! Join in on the fun as I play games live for your entertainment!Watch live video…

Gratuitous Space Battles 2 Released For Linux, Some Thoughts Included

It’s a great time to be a fan of space combat games, and the latest release for us is Gratuitous Space Battles 2 which I’ve taken a look…

The Banner Saga Is Finally Available For Linux

The Banner Saga has been highly sought after from Linux users, and the day has finally come. The new update also adds controller…

The Excellent Crypt Of The NecroDancer Officially Launches This Month

Crypt of the NecroDancer is really awesome, and it's going to exit early access this month. If you love your music it's a fantastic game. I've pumped…