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

Linux-friendly drone controller flies on Intel Joule power

LinuxGizmos: Gumstix launched a customizable version of its LTE-enabled, PX4-compatible AeroCore 2 MAV controller board that works with the Intel Joule.

Setting up QEMU-KVM for kernel development

A look at the fundamentals of building and booting a kernel in QEMU using debootstrap, so you have the needed infrastructure to test your kernel changes in QEMU.

Linux command line navigation tips: the basics of pushd and popd commands

HowToForge: In this article, we will be discussing how you can have a faster navigation experience on the Linux command line using the pushd and popd commands.

How To Check The Password Complexity In Linux

 ostechnix: There are plenty of tools and websites are available to test the password complexity.

Do I need to provide access to source code under the AGPLv3 license?

opensource.com: Do you understand the AGPL license requirements?

Integrate Your Android Device With Ubuntu Using KDE Connect Indicator Fork

 webupd8: KDE Connect is a tool which allows your Android device to integrate with your Linux desktop.

DevOps trends emerging for 2017 and beyond

EnterprisersProject: DevOps has evolved from grassroots movement to the standard way of working for enterprises and startups alike.

A beginner's guide to comparing files using visual diff/merge tool Meld

HowToForge: Not everybody is used-to the command line, and/or command-line based comparison tools could be more difficult to learn and understand for some.

GamingOnLinux.com Latest Articles

A developer of the awesome itch games client has a blog post on compressing files for updates

Tags:Editorial,Itch.ioThe guys over at itch.io are doing some truly interesting work. The itch store is open to all developers, they have an open…

Appreciating how far Linux gaming has actually come in the past few years

Tags:Editorial,VideoDuring the livestream I did last night I had one of those moments where you fully appreciate how far Linux gaming has come.Make…

A new radeonsi (Mesa) patch should fix issues in many games for AMD GPU owners

Tags:Drivers,Mesa,Open SourceSamuel Pitoiset (Valve) discovered an issue in radeonsi (Mesa) that Marek Olšák has now patched up and is…

Wine 2.0-rc6 released, should be the last one before a stable release

Tags:WineWine 2.0-rc6 is now available and it brings in another 21 bug fixes which should make this a seriously stable release. It has no new…

Albion Online announce new equipment, new PvE content and more coming in the 'Galahad' update

Tags:MMO,Beta,Indie GameAlbion Online, the Linux-friendly MMO has another blog post and video detailing changes coming to this interesting MMO.Note:…

Alien: Isolation - The Collection is 70% off on the Feral Interactive store

Tags:Horror,Feral Interactive,Steam,Game Sale If you fancy scaring yourself silly this weekend, be sure to check out Alien: Isolation - The…

Join me tonight at 8:30PM UTC for some Linux gaming fun on Twitch

Tags:LivestreamAs Samsai is away on secret business, I will be taking control of the Friday livestream today and probably next week too. I will be…

Yooka-Laylee has revealed multiplayer in a new trailer

Tags:Coming Soon,Steam,Platformer,Adventure,GOGIf you weren't already sold on Yooka-Laylee, this new multiplayer trailer might just sell you on it…

The open source Vulkan driver 'radv' for AMD on Linux has patches for geometry shader support

Tags:Open Source,Drivers,VulkanDave Airlie sent in a massive patch-set of 31 patches for 'radv', the open source AMD Vulkan driver, to support…

Total War: WARHAMMER makes Grombrindal the White Dwarf Legendary Lord available to all players

Tags:DLC,Feral Interactive,Steam,StrategyOriginally available to anyone who went to a physical Games Workshop store, this Legendary lord has now been…

Torment: Tides of Numenera shows off some more gameplay mechanics in new trailers

Tags:Coming Soon,RPG,SteamThe upcoming RPG by inXile Entertainment is looking good. There’s a pair of new trailers that show off more of the…

Bear With Me: Episode Two releasing February 15th, bringing more noir adventure

Tags:Adventure,Horror,Point & Click,SteamThe next installment in the noir point and click adventure will be arriving soon. This humor-laced…

SteamOS updated with some major new drivers and an updated Debian base

Tags:SteamOS,Steam,BetaSteamOS isn't being left out in the cold like some would believe, as it too today got a big update with new shiny stuff.Note:…

Major Stable Steam client update, Xbox controller config support, vastly improved Linux client

Tags:SteamThis is the big one. Steam have released a major update of the Steam client which not only adds in some big new features, it also…

Nearly five years after the Kickstarter, Carmageddon still isn’t on Linux despite the stretch goal being reached

Tags:Editorial In May it will be five years since the Carmageddon: Reincarnation Kickstarter. Linux support was a stretch goal they reached and we…