The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found in "Tutorials" category:

Finding unmatched braces (brackets)

By

Recently I was checking for unmatched braces in a big text file with nearly half a million lines (300+ MB). Was there a closing brace for every opening brace? The text file was called 'beetle' and was actually a tab-separated table with each line divided into 77 fields. What I wanted to do was find…

Read Article

How to use flags in AWK

By

Flags in AWK are variables which are set to either true or false. They're handy for defining ranges over which AWK can act, as shown below. The AWK used here is GNU AWK 4.1.1 (gawk 4). Sometimes flags aren't needed I'll demonstrate with a simple text file called demo, which has 6 lines with 3…

Read Article

Proofreading for illusions with grep and AWK

By

Lexical illusions are very hard to find when proofreading. The most common lexical illusion is a duplicated word, as in this well-known example: A lexical illusion: many people are not aware that the the brain will automatically ignore a second instance of the word 'the' when it starts a new line. …

Read Article

Transposing rows and columns: 3 methods

By

Swapping the rows and columns in a table on the command line would seem to be a fairly easy thing to do. For example, with this tab-separated table (called 'tabbed') as input: get this tab-separated table ('swapped') as output: Datamash Transposing rows and columns is indeed easy if you have the…

Read Article

I think I like backreferences (sometimes)

By

Backreferences are part of the complicated and sometimes confusing world of regular expressions. The basic idea is this: you can substitute any part of a regular expression with a backslash followed by a number, so long as you surround the part to be substituted with round brackets. The command…

Read Article

Keeping emails as text files: 2 scripts

By

Most people store and organise their personal emails as individual files (messages) in folders. Those folders might be on a webmail company's servers, or in a mail client program on the user's personal computer. In both cases the emails are probably in a special email format. I'm horribly…

Read Article

How to manage alternating lines of text on the command line

By

In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates

By

It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

Read Article

Scripting a fancy chooser for recently used files

By

I recently scripted a GUI dialog that lists my 10 most recently modified files in reverse chronological order and allows me to choose more than 1 file for opening. The dialog is launched with a keyboard shortcut and is shown here with 2 files selected: The script is in copy-and-paste form at the…

Read Article

Gnumeric: a filter-and-export script

By

My wife likes to organise and store information in Gnumeric spreadsheets. Every now and then she needs to filter her data and save the result to a new spreadsheet. Gnumeric doesn't have a simple way to do that. It has a complicated way to do it ('Advanced Filter'), but nothing so straightforward as…

Read Article

News Elsewhere

Linuxtoday.com

Can Linux survive another 25 years?

Linux's longevity is a testament to the open source community as a whole, and not just one man, such as Linus Torvalds.

StrongSwan based IPsec VPN using certificates and pre shared key on Ubuntu 16.04

Learn how to install the strongSwan IPsec VPN on Ubuntu 16.04 (LTS)

4 tips for teaching electronics to kids

Oyvind Nydal Dahl has dedicated himself to teaching electronics to beginners, both kids and adults.

Open source drone controller has an FPGA-enhanced brain

Aerotenna has launched an open source, $499 OcPoc drone flight controller that runs Linux on an Altera Cyclone V ARM/FPGA SoC.

LinuxCon: Tracing Linux's Roots, Mapping Its Future

Starting in 2017, LinuxCon will be renamed the Open Source Summit

How to Install nginx and google pagespeed on Ubuntu 16.04 (Xenial Xerus)

This tutorial shows how to build a nginx .deb package for Ubuntu 16.04 from source that has Google PageSpeed module compiled in.

Microsoft at LinuxCon: Building Open Source Cred One Conference at a Time

To say that Microsoft and open source have a rocky history would be an understatement.

Calamares 2.4 Universal Installer Framework Polishes Existing Functionality

Calamares 2.4 adds a new module called netinstall to allow the choice of installing various packages during installation

Red Hat Enterprise Linux 7.3 Beta Adds NVDIMM Support, Improves Security

Red Hat Enterprise Linux 7.3 Beta brings lots of improvements and innovations, support for new hardware devices, and improves the overall security of the Linux kernel-based operating system

GamingOnLinux.com Latest Articles

State of Mind, a fantastic looking futuristic thriller game built with Unreal Engine that's coming to Linux

Tags:Unreal Engine,Steam,Coming Soon,AdventureState of Mind was pointed out in the GOL IRC (thanks qptain_Nemo!) and wow, this looks quite…

The Wine Stable Release 1.8.4 Is Now Available

Tags:Open Source,Wine The Wine team released today fifth stable release of 1.8 branch of Wine. Version 1.8.4 has many small changes including 50…

Join me for our weekly Linux Gaming livestream live on Twitch tonight!

Tags:LivestreamTonight is the night folks, you can all take pleasure in how terribly bad I am at playing games live on Twitch! I will be live around…

Addictive free arcade game 'Super Crate Box' has its Linux port released

Tags:Free Game,ArcadeSuper Crate Box was briefly mentioned in this GOL article, regarding the developers' plans to port three of their games to…

Early Access supernatural newspaper RPG 'Daily Chthonicle: Editor's Edition' is likely coming to Linux

Tags:Steam,Simulation,RPG,Coming Soon,AdventureDo you like games inspired in the works of H.P. Lovecraft? Then check out this horror newspaper…

BUTCHER, a blood-soaked love letter to the early 90s announced with Linux support

Tags:Unity3D,Steam,Coming Soon,ActionBUTCHER looks like a cross between Broforce and Doom and has jumped straight to the top of my watch list. The…

The incredibly cool looking first-person adventure game 'Valley' looks like it's heading to Linux

Tags:Adventure,Coming Soon,SteamI had never heard of 'Valley' before until it was emailed in by Colin (thanks!), and wow it looks marvellous. It's…

The open source Vulkan driver for AMD can now run Dota 2

Tags:AMD,Drivers,Open Source,VulkanA pretty good milestone has been achieved with the open source Vulkan driver for AMD that Dave Airlie has been…

Crusader Kings II: The Reaper’s Due now available, brings more death and pestilence

Tags:Strategy,Steam,Sandbox,DLCParadox Development Studio’s successful medieval grand strategy game, Crusader Kings II, has seen the release of…

A look at Planet Nomads now it's in closed alpha and available on Linux

Tags:Video,Unity3D,Survival,Sandbox,Preview,Early Access,AlphaGood evening explorers, today I took a look at Planet Nomads a very early build of what…

Control a farting cat lost in space in Miaou Moon, now on Linux

Tags:Casual,Itch.io,Platformer,SteamMiaou Moon is a charming, fun and all around entertaining game. The developer sent in a key for me to take a…

Slain: Back From Hell released for Linux on GOG, some thoughts

Tags:Platformer,Initial Thoughts,GOG,Action,SteamSlain: Back From Hell is the revamped of the poorly received Slain, now that it's available on GOG…

Mother Russia Bleeds, an old-fashioned beat 'em up releases next month and has a trailer

Tags:Action,Coming Soon,GOG,Humble Store,SteamMother Russia Bleeds certainly looks good for a retro inspired beat 'em up and the trailer looks…

Master of Orion (the new one) officially released with Linux support

Tags:Steam,StrategyThe day has arrived space fans! Master of Orion (the new one) has blasted off out of Early Access and is now officially available.…

Upcoming RTS/FPS hybrid 'Abatron' will have a Linux demo before official release

Tags:Strategy,FPS,CrowdfundingAbatron is a beautiful-looking game full of interesting ideas, which still needs to go a long way before seeing the…