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

Is WINE Linux Enterprise Friendly?

Datamation: The WINE software can useful, but faces some key challenges for a long term approach.

How to upgrade Debian 8 (Jessie) to 9 (Stretch) safely

 HowToForge: This tutorial shows you how to upgrade your Debian system from Debian Jessie (8) to Debian Stretch (9) in a few simple steps.

How to Block USB Storage Devices in Linux Servers

 Do you know how to block access to USB in Linux? (if you don't you should learn..)

How technology changes the rules for doing agile

EnterprisersProject: Scaling DevOps from small group to large organization is hard.

Bug Bounty Hackers Make More Money Than Average Salaries, Report Finds

eWEEK: Why do individuals spend time going after bug bounties? HackerOne report reveals what ethical hackers are going after and why.

20 Years of LWN

Congratulations to LWN on an amazing milestone.

How To Install Themes Or Icons In Elementary OS

After installing Elementary OS, you may feel that you want to customize it to look more than Out-of-the-box system

Barcelona Opts for Breath of Open Source Fresh Air

LinuxInsider: Barcelona city officials have voted to shut the door on Microsoft Windows in favor of the Linux operating system and open source technology.

NHS: Thanks for the free work, Linux nerds, now face our trademark cops

The Register: Devs quit, suggest Britain's health service bosses used them to bag Microsoft deal

GamingOnLinux Latest Articles

We Happy Few delayed again until 'Summer 2018', refunds will be possible

Tags: Coming Soon, Steam, GOG, Open WorldIn the latest production update to We Happy Few [Official Site], the developers note it will have another…

DECEIVER is a cyberpunk pre-apocalyptic philosophical shooter that's heading to Linux

Tags: Open Source, Action, Coming Soon, Indie GameDECEIVER [Official Site] is a cyberpunk pre-apocalyptic philosophical shooter with parkour and…

Looks like first-person steampunk dungeon crawler 'Vaporum' is coming to Linux

Tags: Steam, Indie Game, Dungeon Crawler, RPGThe first-person steampunk dungeon crawler Vaporum [Official Site] is showing signs of being released…

OBS Studio 21.0.1 released with Luajit/Python3 scripting support and plenty more

Tags: Open SourceOBS Studio 21.0.1 [Official Site] is a pretty big release and it sounds really quite exciting too, with the possibilities that come…

Looks like a Linux beta of Battle Chasers: Nightwar is finally coming

Tags: Steam, Coming Soon, Beta, Action, RPGBattle Chasers: Nightwar [Official Site] was supposed to released for Linux back in October last year, but…

OBS Studio NDI Plugin for Linux, send video from one Linux PC to another

Tags: Editorial, HOWTOTwo PC streaming has usually required either a dedicated capture card or setting up finicky RTMP servers, and while setting up…

The Linux 2017 GOTY Awards are now over, here's the winners

Tags: GOTYAnother year has completely flown by and with that another year of our GOTY Awards comes to a close, here's the results of the Linux 2017…

Where The Water Tastes Like Wine is confirmed for same-day Linux support

Tags: Steam, Coming Soon, AdventureRecently I wrote about how the adventure game Where The Water Tastes Like Wine [Steam, Official Site] would…

Tangledeep, the rather pretty dungeon crawler is leaving Early Access next month

Tags: Roguelike, Steam, GOG, Indie Game, Dungeon CrawlerTangledeep [Steam, GOG, Official Site] is a game we haven't covered a lot here, even though…

Eco, a detailed sandbox simulation game is launching on Steam Early Access soon

Tags: Sandbox, Survival, Simulation, Indie Game, Steam, Coming SoonEco [Official Site] is a hard game to properly describe, it's a detailed sandbox…

Cattle and Crops, a farming simulation and management game that has Linux support

Tags: Early Access, Simulation, Indie GameNeed your farming fix? Cattle and Crops [Official Site] is an in-development farming simulation and…

PLAY WITH ME, a mixture of horror and puzzles inspired by the SAW movies should come to Linux

Tags: Horror, Puzzle, Steam, Indie GameThe developer of PLAY WITH ME [Steam, Official Site], a horror and puzzle game inspired by the SAW movies is…

It's possible 'Two Point Hospital' from Two Point Studios & SEGA may be coming to Linux

Tags: Steam, SimulationTwo Point Hospital [Official Site, Steam], a new hospital building and management sim from Two Point Studios & SEGA might…

Friday Livestream with Samsai at 6 PM UTC!

Tags: LivestreamHello there, potential viewer! I am here to notify you that you have a one-time opportunity* to participate in an adventure unlike…

FPS 'Interstellar Marines' is still alive and updated, finally fixes their Wargames mode timer on Linux

Tags: Action, FPS, Indie Game, Early AccessInterstellar Marines [Steam] was one of the most promising FPS games in a long time, until they basically…