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

SUSE Overhauls Linux, OpenStack Partner Program

 Channele2e: SUSE is launching an overhauled channel partner program to address four key customer needs

GNOME 3.22 Supports Flatpak Cross-Linux Distribution Framework

eWEEK: Much as was the case with the GNOME 3.20 update earlier this year, many of the changes in the latest iteration of the popular open-source desktop environment are incremental.

How Red Hat is making money on the public cloud with a hybrid approach

TechRepublic: Red Hat offered up some surprising insight into its cloud business on its earnings call.

Lenovo Courts Devs WIth Moto Z Source Code Release

LinuxInsider: This is the first kernel source code made available for the Moto Z family of devices.

Fedora 25 Goes Into Beta Freeze Today, New Features Need To Be Completed

Phoronix: The Fedora 25 Beta freeze is today ahead of the planned beta release on 11 October

The best way to develop software with effective security

 opensource.com: Learn why the best way to get through the security process is to include it early in the product specification, design, and implementation.

KDE's Kirigami UI Framework for Mobile and Convergent Apps Hits 1.1 Milestone

 softpedia: Kirigami is a versatile UI framework that lets application developers build cross-platform Qt-based apps for mobile and desktop platforms

5 Ways to Keep Remote SSH Sessions and Processes Running After Disconnection

tecmint: SSH or Secure Shell in simple terms is a way by which a person can remotely access another user on other system but only in command line

How to Create Virtual Machines in oVirt 4.0 Environment

LinuxTechi: Creating VM's in oVirt isn't all that hard to do.

GamingOnLinux.com Latest Articles

Fusion 3, the next generation game engine and editor from Clickteam will support Linux

Tags:Coming Soon,Editorial,Game EngineClickteam [Official Site] are the company behind some really cool tools like Fusion, previously called…

Avoid the pile-up in 'Clustertruck', a first-person platformer with day-1 Linux support, it's great

Tags:Racing,Platformer,Initial Thoughts,GOG,Action,SteamClustertruck [Official Site, Steam, GOG] released today and I've had a chance to play some of…

Steam now has above 2,500 Linux & SteamOS games available

Tags:Steam,EditorialI've seen some posts on reddit and across the wider net about Steam hitting around 2,000 games for Linux. The truth is the number…

The Talos Principle now renders correctly in 'radv', the open source AMD Vulkan driver

Tags:AMD,Open Source,VulkanGood news for Vulkan and AMD GPU fans, as David Airlie has put up a new blog post letting us know that The Talos Principle…

'Farabel', a turn based strategy game is officially coming to Linux after a days work

Tags:Strategy,Steam,Coming Soon,Unity3DThe developers of Farabel [Official Site, Steam, itch] sent word that their game is now officially coming to…

Yooka-Laylee has another trailer, featuring Shovel Knight

Tags:Coming Soon,Platformer,Teaser,VideoThat's right, Shovel Knight has somehow found his way into Yooka-Laylee [Official Site] and here's a trailer…

hackmud, a cyberpunk themed text-based hacking simulator is now out with Linux support

Tags:Simulation,Indie Gamehackmud, or "hackmud" [Official Site, Itch, Steam] as it likes to be…

Future Unfolding is a fantastic looking action and adventure game with rather unique visuals

Tags:Action,Adventure,Coming Soon,Greenlight,Indie Game,Puzzle,SteamFuture Unfolding [Official Site] from Spaces of Play looks rather unique in style…

The Long Dark gets a massive update, which fixes a critical Linux audio bug

Tags:Survival,Steam,Sandbox,GOG,Early Access,Unity3DThe Long Dark [Official Site, Steam, GOG] is the rather beautiful survival game currently in…

On Wednesday the 28th of September Feral Interactive will livestream Warhammer 40,000: Dawn of War II on Linux

Tags:Livestream,Feral InteractiveIf you're excited about the release of Warhammer 40,000: Dawn of War II for Linux you may want to tune in to Feral…

GOG are running a back to school sale and GOG Connect has returned with new games

Tags:GOG,Game SaleGOG [Official Site] has a bunch of titles on sale right now and they have also announced the return of GOG Connect which allows you…

‘The Hive’, a story driven fantasy game that plays like an RTS leaves Early Access, some thoughts

Tags:Strategy,Steam,Review,Indie GameI was really excited when I remembered The Hive, and now it’s out of Early Access I have given it some…

Worms W.M.D should have multiplatform online play by the end of October, including between GOG and Steam

Tags:Action,GOG,Steam,Strategy Worms W.M.D [Official Site] is set to get an update around the end of October that will include multiplatform…

Promising top-down shooter ‘Redie’, inspired by Hotline Miami, needs support on Kickstarter, demo available

Tags:Action,Coming Soon,Crowdfunding,Indie GameRedie sincerely took me by surprise when I was researching another game. It got my attention from the…

The third beta of FREE FPS ‘Ravenfield’ is out, the game keeps getting better

Tags:Beta,FPS,Free Game,Itch.io 'Ravenfield' is a small but excellent FPS inspired by Battlefield (but without Multiplayer), which I previously…