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

City of Berlin Going from OpenOffice Back to Microsoft Office

 softpedia: The usual trend is to see cities adopt open source software and renounce the use of proprietary solutions, but in the city of Berlin things are moving in the opposite direction.

Linux-based smart glasses keep it stylish

 LinuxGizmos: Laforge is prepping a $399 beta version of its Linux-based Icis eyewear

Charting new licensing territories with the Open Definition standard

 OpenSource.com: Open Knowledge and the Open Definition Advisory Council have announced the release of version 2.0 of the Open Definition.

Ziggurat, A Dungeon Crawling FPS Is Now Out Of Early Access & On Linux

 GamingOnLinux: Dungeon-Crawling First Person Shooting at its finest!

Discover the Power of Konqueror

MakeTechEasier: If you’re a KDE user, you’ve probably heard of Konqueror.

An early view of GTK+ 3.16

A number of new features have landed in GTK+ recently. These are now available in the 3.15.0 release.

Make Your Own Wireless Printer With A Raspberry Pi

MakeUseOf:  Wireless technology is perhaps the best improvement to home printing for years.

eBay open sources a big, fast SQL-on-Hadoop database

Gigaom: eBay has open sourced a database technology, called Kylin, that takes advantage of distributed processing and the HBase data store in order to return faster results for SQL queries over Hadoop data.

How to Hack Your Own Network and Beef Up Its Security with Kali Linux

Lifehacker: Kali Linux is a security-focused operating system you can run off a CD or USB drive, anywhere.

GamingOnLinux.com Latest Articles

Planetary Annihilation Livestream At 5 PM UTC (VODs Included!)

For this week's livestream we have something a bit different. Our friend Liam has challenged me to a fight to the death in Planetary Annihilation and we'll be livestreaming that (possibly) epic match on Twitch.

3D Realms Aiming To Release Anthology Collection For Linux

In their FAQ section for their downloadable 32 game collection 3D Realms have said they are planning to release the collection for Mac and Linux later this year.

Dead Island Zombie Game Now Available On Linux For Some (updated)

Dead Island is the latest zombie game to grace Linux with its presence and helps build up our backlog of games.

Ziggurat, A Dungeon Crawling FPS Is Now Out Of Early Access & On Linux

Dungeon-Crawling First Person Shooting at its finest! Fast-paced combat! Dozens of perks, spells and enemies! Level ups! Random Dungeons! Traps! Badass bosses! Carrots!

Skully's Free Game Tips: Anomaly Warzone Earth

Skully takes a look at how you can get a free copy of Anomaly Warzone Earth from Games Republic. It's pretty easy to do too.

GOL World Tour: Linux Gaming From Canada

This time, GOL World Tour goes back to the Americas - this time to Canada to see what the country has to offer Linux gamers and who the companies are making those games.

A Different Idea For The SteamOS UI

A user on the Steam forum has come up with a concept for a new UI for SteamOS, and it looks slick! Take a look at the video inside.

Devil's Dare Action Game Released For Linux On Steam

Devil's Dare is a 2D zombie beat'em up, supporting up to 4 players to co-op and fight together locally. Being the spritual successor to Bitejacker, Devil's Dare carries the same theme of parodies, pitting classic game heroes against monsters straight out of 90s horror movies.

Unreal Tournament Has Public Builds Available For All Platforms Now

The new Unreal Tournament is being built out in the open and with community input as we already know, but now anyone who is logged into their forum can get access to the builds.

Icewind Dale: Enhanced Edition Arrives For Linux This Month

Icewind Dale: Enhanced Edition will officially arrive on the 30th of October, and this will be a same-day Linux release too.

The Dark Descent Of Frictional Games: Part One

In the first of a two part opinion series, we will explore how the Penumbra games through a process of gradual evolution created a solid design template for later Frictional Games titles to follow.

Airships Early Access F5 Introduces Ramming, Boarding

Airships early access version 5 is out. This release introduces boarding combat, ramming prows, and new ship modules such as sails - and music!

Civilization: Beyond Earth Linux Release Date Cleared Up

Civilization: Beyond Earth is coming to Linux and the Linux release has been cleared up a bit in terms of when we can expect it.

Warlock 2: The Exiled Now On Linux

Warlock 2 is a turn-based strategy game of fantasy warfare. Rival against Great Mages, lead mighty armies into fierce battles, wield ancient magic and faith as your weapons. It is now available on Linux, and a new expansion has been released alongside it too.

Door Kickers Officially Released Today

The tactical squad shooter has been in Steam Early Access since 3rd September of last year, but was officially released today. The game is now available for Linux through retailers such as GOG, Humble Store and Steam.