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

SUSE LLC's SUSE Manager

LinuxJournal: SUSE Manager is a open-source IT management solution with a centralized console for managing multiple Linux distributions

Android, Chromebook Make a Sweet Couple

LinuxInsider: Chrome OS and Android Apps now run together on some Chromebooks.

Oracle Outs VirtualBox 5.1.2 with Better Support for Red Hat Enterprise Linux 5

For Linux hosts, the VirtualBox 5.1.2 release adds better support for the latest builds of the Red Hat Enterprise Linux 5 operating system

Linux 4.7 Debuts with Improved Security

LinuxPlanet: The fourth major new Linux kernel of 2016 is now out with the debut today of Linux 4.7

4MLinux 19.0 Distro to Ship with GCC 6.1.0 and Qt 5.7, Public Beta Out Now

softepedia: The final release of the 4MLinux 19.0 GNU/Linux distribution, which should see the light of day on September 1, 2016, will also ship with the latest Qt 5.7.0 GUI (Graphical User Interface) toolkit.

Troubleshooting the ever-powerful Postfix Mail Server

 Postfix is still a widely used and very popular open-source mail server.

Terminator A Linux Terminal Emulator With Multiple Terminals In One Window

Each Linux distribution has a default terminal emulator for interacting with system through commands.

Cumulus : A Real Time Weather App for Linux Desktops

 tecmint: Cumulus is a Yahoo! Weather Powered Desktop Weather App for Linux.

GamingOnLinux.com Latest Articles

FOX n FORESTS, a very interesting looking 16-Bit style action platformer is on Kickstarter

Tags:Retro,Platformer,Interview,Editorial,DRM Free,Adventure,ActionFOX n FORESTS, a 16-Bit style action platformer that has adventure and puzzle…

Beat Cop, the retro pixel art adventure game has a new trailer

Tags:Adventure,Coming Soon,RetroBeat Cop is a rather interesting looking 80s inspired pixel art adventure game due out later this year, and it…

Vikings – Wolves of Midgard Announced from Kalypso Media and Games Farm with Linux support

Tags:RPG,Coming Soon,Action,Unity3DKalypso Media really are getting Linux friendly aren't they! Vikings – Wolves of Midgard has been announced…

The Battle for Wesnoth, the great open source fantasy strategy game is now on Steam Greenlight

Tags:Greenlight,Open Source,Steam,StrategyThe Battle for Wesnoth is probably one of the all time great open source games. It's been around for a long…

Progress on our User Statistics Page has continued, feedback requested

Tags:Site InfoUpdates will be listed at the bottom as I go. Since I am sick with Tonsillitis I decided to take a quick break from news and work on…

Cheese Talks: Porting Games to Linux & Day of the Tentacle

Tags:EditorialHi people! A new Cheese Talks article just went live! This time, I'm looking back at what I learned from porting Day of the Tentacle…

Sinner’s Sorrow, a grim looking action adventure is coming to Linux

Tags:Action,Adventure,Coming Soon,Indie GameI don't have a freaking clue what's going in the teaser trailer for Sinner's Sorrow, but wow am I…

openFrameworks C++ toolkit now has a Vulkan backend that supports Linux

Tags:Vulkan,ToolkitI'm going to be honest, I had never heard of openFrameworks until today. It claims it's a C++ toolkit that glues together several…

Vulkan backend for the Dolphin emulator is now feature complete

Tags:Emulation,Open Source,VulkanOn the github pull request to bring in the Vulkan backend for the Dolphin emulator, it now reads as feature…

Dave Airlie has been working on an AMD Vulkan driver

Tags:Drivers,AMDDave Airlie has been working on an open source AMD Vulkan driver and he's ready to show it off a little bit. I do love the fact that…

Looks like the open source Mesa driver has hit OpenGL 4.5 support with Intel

Tags:Drivers,Open SourceA pretty incredible milestone for open source graphics, as it appears that Mesa along with the Intel driver has hit OpenGL…

The Living Dungeon developers looking to see if there's interest for a Linux version

Tags:Adventure,Steam,StrategyThe Living Dungeon developers have posted on Steam requesting to see how much interest there is for their game on Linux.…

The Wine Development Release 1.9.15 Is Now Available

Tags:Beta,Open Source,Wine The Wine team released today another development release of their software. Version 1.9.15 has many small changes…

Knights of the Sky and Dungeon Souls are now available DRM free on GOG

Tags:Indie Game,GOG,DRM Free,DOSBoxGOG.com have added in two more Linux titles for your DRM free collections! Dungeon Souls, a pretty cool action…

Hidden in Plain Sight, a local multiplayer game that sounds hilarious is now on Linux

Tags:Action,Casual,Indie Game,SteamHidden in Plain Sight is a rather amusing sounding local multiplayer game. You have to blend in with a crowd on…