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

Building better assistive technology with open hardware

 opensource.com: For many people, technology assists and augments our lives, making certain tasks easier, communicating across long distances possible, and giving us the opportunity to be more informed about the world around us.

Microsoft's Patent Allies LG and Sony Agree to Put Microsoft Inside Android

 techrights: LG and Sony (of Rockstar Consortium) follow Samsung and Dell in Microsoft's campaign to turn Android into 'Microsoft Android' using patents-induced pressure/leverage

11 pointless but awesome Linux terminal tricks

NetworkWorld: Some great Linux terminal tips and tricks, each one as pointless as it is awesome.

A Few Laps With Fedora 22

 FOSSforce: Many of the changes in Fedora 22 come in the Cloud and Server versions, though one change stands out across the board.

Ubuntu Community Council Can't Track Down $143,000 Worth of Donations

 softpedia: The Ubuntu Community Council has made a rather troublesome discovery regarding the accounting of $143,000 in donations.

MySQL Incremental Backup - Point In Time Backup and Recovery

 HowToForge: Mysql Incremental Backup is a complete incremental backup script for MyISAM and InnodB databases using the MySQL binary log so that the backup process does not affect running databases.

How to Secure an OpenStack Cloud

eWEEK: Providing security in OpenStack is not as easy as simply deploying a firewall and enabling antivirus. Many additional controls need to be deployed.

Private Linux cloud server costs $89, streams media too

 LinuxGizmos: An $89 peer-to-peer "Brease" private file server on Kickstarter features four USB 3.0 ports, a GbE port, 256-bit AES, mobile support, and media streaming.

Are Windows and OS X malware?

 ITworld: Richard Stallman has never been...er...shy about sharing his opinions, particularly when it comes to software that doesn't adhere to his vision.

GamingOnLinux.com Latest Articles

Voxelnauts, A Sandbox MMO Built On Linux & Needing Help On Kickstarter

I am always hesitant to cover any crowdfunding campaigns, but I think Voxelnauts has just won me over. All development is done on Linux, they have…

Demo Released For Choose-Your-Own-Adventure Mystery Game 'Jenny LeClue'

Jenny LeClue was funded on Kickstarter last summer. A playable teaser has now been made available, along with a new teaser trailer. This trailer…

Adventure RPGs Hero Of The Kingdom I & II Released On Steam For Linux

The quest and resource based adventure RPGs by developer Lonely Troops were both officially released for Linux this week and the first one is…

Steam Replaces The Linux Tux Logo With SteamOS

In an unsurprising move, Steam has replaced the Linux icon of "tux" with their own SteamOS icon. I completely understand why they did this, but it…

Co-op Gravity Platformer 'Ibb & Obb' Now Available On Steam For Linux

The cute but challenging co-op gravity platformer ibb & obb is out of beta and is one worth a look if you have a friend to play with. We wrote…

Audiosurf 2 Smashes Out Of Early Access, Available For Linux

Audiosurf 2 is the sequel to the smash hit music game Audiosurf, and as the name suggests you do literally surf the music. The sequel is available…

Dying Light Linux Performance Patch & New DLC Released

The day has arrived, not only do we have a new DLC for Dying Light, but the Linux performance patch I previewed for you has also been released! To…

The Funding Crowd 46

Welcome to the Palladium issue of The Funding Crowd! Yep, 46 appears to be a reasonably interesting number, apart from representing aforementioned…

Torment: Tides Of Numenera RPG Has A New Trailer

I love RPG games, so Torment: Tides of Numenera has me really excited! This new trailer is further extending my excitement, and it looks like I will…

Nightside RTS Updated With Multiplayer & The Start Of A Campaign

It’s no secret that I love the visual style of Nightside, and this new update has boosted the content rather a lot.Changelog:Quote- First 5…

Linux Test Build Available For Convoy, A Tactical Roguelike-like Inspired By Mad Max & FTL

I was immediately interested in Convoy when I originally heard about it, but was sad when there was no Linux support. The good news is they now have…

Point & Click Adventure Game 'Zak McKracken: Between Time And Space' Released For Linux

Seven years after the unofficial fan sequel to the 80s classic Zak McKracken and the Alien Mindbenders was released in German for Windows, a…

Interloper, A New Small Scale Real Time Strategy Released For Linux, It’s Good

Interloper is a small scale real time strategy that recently released for Linux, and it managed to capture my interest for being a bit different. The…

Massive New Planetary Annihilation Test Build Available, Also On Sale

Uber Entertainment have been busy, and their work has shown in their latest public test build. It includes lots of new AI fixes and behaviours, as…

Classic Platformers Prehistorik 1 & 2 Released On GOG For Linux

GOG have done it again folks, Prehistorik 1 & 2 which are both games from my childhood have been published on GOG and both support Linux. I've…