Articles found under tag: linux-shell

headimage

Tips on Tables

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

A Pivot Table In AWK

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Why I (sometimes) love regular expressions

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Scripting a 'Find-and-Replace' for big text files

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Multiple-item data entry with YAD

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Scripting an OCR text archiver for Trove

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

How to kill blank lines elegantly

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Building a gazetteer table from KML files

Posted in Tutorials

By Bob Mesibov

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 full article

Linuxtoday.com

Linode Releases Open Source Cloud Hosting Documentation

 The VAR Guy: Cloud hosting provider Linode has made the documentation for its platform open source, allowing anyone to access the information and contribute to it.

Red Hat starts work on 64-bit ARM servers

 ZDnet: Red Hat and its partners are betting that 64-bit ARM processors are ready for the data center.

OrFoxOS combines Firefox OS and Tor on a $25 smartphone

 ITworld: OrFoxOS combines Firefox OS and Tor to help protect your privacy.

The making of the Raspberry Pi Model B+

 Raspi: The Director of Hardware at the Raspberry Pi Foundation, James Adams, walks through the making of the new and improved Raspberry Pi Model B+

Ubuntu for Phones to Integrate Nokia HERE Maps

 softpedia: Canonical has announced that Ubuntu mobile devices will use Nokia HERE maps by default, making this the start of a very interesting partnership.

Builder: A New Development IDE Being Built For GNOME

Phoronix: GNOME Builder is a new integrated development environment (IDE) being developed for building GNOME applications faster and better.

New Open Source Effort Provides Free Cloud Orchestration as a Service

Linux.com: Orchestration can bring benefits to many parts of IT, but its potential may well be greatest of all in the highly complex world of cloud computing.

Step By Step Ubuntu 14.04 LTS (Trusty Tahr) LAMP Server Setup

 UbuntuGeek: In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go.

LibreOffice 4.3 Arrives with 30 New Excel Formulas and Support for Microsoft Works Spreadsheets

 softpedia: The Document Foundation has announced that the final version for LibreOffice 4.3 is now available for all platforms

GamingOnLinux.com Latest Articles

The Witcher 3 Is Reportedly Really Coming To Linux

A redditor emailed in to highlight a post they made on reddit after going to SDCC where they spoke to the developers of The Witcher. The developers confirmed to them a Linux version of The Witcher 3 exists.

The Witcher 2 Has A New Performance Focused Beta For Linux

The Witcher 2 now has a second beta for Linux which is aimed at improving performance for Nvidia users currently, and in future for AMD too.

Two Tribes Brand New Platform Shooter RIVE Comng To Linux

After going through some changes the refreshed Two Tribes team got to work on a brand new game called RIVE. The game looks beautiful and it's heading to Linux.

Watch The Unreal Tournament Developers Play Team Deathmatch

The crew from Epic Games are at it again. We have now been teased to a video showing the Unreal Tournament crew playing Team Deathmatch in the brand new game.

Pulstar Twin Stick Shooter Released On Steam For Linux

Pulstar has been updated on Steam to add a Linux version! Pulstar is a fast paced arcade game that brings back the basic of its genre, and it sure is vibrant.

Stronghold 3 Gold Looks Closer To A Linux Version

We already gave you confirmation that Stronghold 3 Gold was heaving to Linux, but in the past week it seems there has been more progress.

Space Pirates And Zombies Now On GOG DRM Free For Linux

You can now grab Space Pirates and Zombies DRM free from GOG.com as they build up their game collection.

Only If Free Adventure Game Released On Steam For Linux

Only If is a surreal first person adventure-puzzle game. You play as Anthony Clyde, who, after a heavy night of partying, wakes up to find himself in an unfamiliar bed with no memory of the previous night's events.

GOL Cast: Metal Music And Zombie Apocalypse In Rock Zombie

If you've played Left 4 Dead 2, then you might have had the chance to smash zombies with a guitar. However, if you haven't then here's a game that focuses exactly on that. Cue the music and let's go kill a horde or two.

Sales Statistics From Developers Part 3

Here we are again! I know how much people enjoy statistics (snore!), but when it comes to Linux and how well games perform on it we all need to see.

Street Arena, A Top Down Action Game Much Like Early GTA Games

Street Arena is the re-branded version of "Greedy Car Thieves" which is a promising looking top down action game involving cars, and it looks a lot like the early Grand Theft Auto games.

Bik, A 2D Point & Click Adventure In Space

Bik is quite an interesting looking point & click adventure, and it's available for Linux. We check it out and let you know how it plays.

Gods Will Be Watching Now Out For Linux, And It's Hard

Gods Will Be Watching is a game that is quite hard to describe, and it's bloody hard as well. It's a pixel art point and click adventure game where you need to be quite brutal.

Darkwood Arrives To Scare Linux Gamers

Darkwood is an interesting take on the horror and survival genre with a top down perspective and a really dark setting.

The Incredible Adventures Of Van Helsing 1 Is In Closed Beta On Linux

It was already reported that The Incredible Adventures Of Van Helsing is coming to Linux a while ago. I can now confirm that the first game is in closed beta on Linux right now. Even though the game is in early beta and is quite rough around the edges, it looks great and is mostly playable.