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

Articles found under tag: awk

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

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

How to insert code snippets on the command line without executing them

By

You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the…

Read Article

How to read a file N lines at a time in BASH: 3 methods

By

The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

News Elsewhere

Linux Today

Calibre 8.11 E-Book Manager Adds an “Ask AI” Tab to the Dictionary Lookup Panel

Discover the new "Ask AI" tab in Calibre 8.11's Dictionary Lookup Panel, enhancing your e-book management experience with intelligent assistance.

The post Calibre 8.11 E-Book Manager Adds an “Ask AI” Tab to the Dictionary Lookup Panel appeared first on Linux Today.

Ubuntu Touch OTA-10 Released with Ubuntu Touch Upgrader, Rabbit R1 Support

Discover the latest Ubuntu Touch OTA-10 release featuring the Ubuntu Touch Upgrader and enhanced support for Rabbit R1. Upgrade your device today!

The post Ubuntu Touch OTA-10 Released with Ubuntu Touch Upgrader, Rabbit R1 Support appeared first on Linux Today.

Raspberry Pi 500+ Launches as the Ultimate All-In-One PC Based on Raspberry Pi 5

Discover the Raspberry Pi 500+, the ultimate all-in-one PC powered by Raspberry Pi 5. Explore its features and unleash your creativity today!

The post Raspberry Pi 500+ Launches as the Ultimate All-In-One PC Based on Raspberry Pi 5 appeared first on Linux Today.

Independent Distro KaOS Linux 2025.09 Arrives with Linux 6.16, KDE Gear 25.08

Discover the latest KaOS Linux 2025.09 featuring Linux 6.16 and KDE Gear 25.08. Experience cutting-edge performance and a sleek user interface today.

The post Independent Distro KaOS Linux 2025.09 Arrives with Linux 6.16, KDE Gear 25.08 appeared first on Linux Today.

Linux Kernel 6.17 Officially Released, This Is What’s New

Discover the latest features and improvements in Linux Kernel 6.17. Explore what's new and how it enhances performance and security for your systems.

The post Linux Kernel 6.17 Officially Released, This Is What’s New appeared first on Linux Today.

Fish Shell 4.1 Released with Brace Syntax, Transient Prompts

Discover the latest Fish Shell 4.1 release featuring brace syntax and transient prompts. Enhance your command line experience with these powerful new tools.

The post Fish Shell 4.1 Released with Brace Syntax, Transient Prompts appeared first on Linux Today.

Nextcloud Hub 25 Autumn Ups the Ante for Open Source Clouds

Discover how Nextcloud Hub 25 enhances open-source cloud solutions this autumn. Explore new features and improvements for seamless collaboration and storage.

The post Nextcloud Hub 25 Autumn Ups the Ante for Open Source Clouds appeared first on Linux Today.

Nosey Parker: Open-source tool finds sensitive information in textual data and Git history

Discover Nosey Parker, the open-source tool designed to uncover sensitive information hidden in textual data and Git history. Enhance your data security today!

The post Nosey Parker: Open-source tool finds sensitive information in textual data and Git history appeared first on Linux Today.

Kitty Terminal 0.43 Brings Session Management

Discover Kitty Terminal 0.43, featuring enhanced session management for improved workflow efficiency. Streamline your terminal experience today!

The post Kitty Terminal 0.43 Brings Session Management appeared first on Linux Today.

Fedora Council Proposes Policy on AI-Assisted Contributions

Discover the Fedora Council's new policy on AI-assisted contributions, aimed at enhancing collaboration and innovation within the Fedora community.

The post Fedora Council Proposes Policy on AI-Assisted Contributions appeared first on Linux Today.

GamingOnLinux Latest Articles

BattleBit Remastered is surprisingly alive - a huge Operation Overhaul update test arrives in November

Dropping the first bit of proper news on Steam since early 2024 after the release of Battlefield 6 is certainly a choice - BattleBit Remastered is…

Supernatural adventure Shadows of the Afterland gets a fully voiced demo upgrade

If you love your adventure games be sure to check out Shadows of the Afterland, with a new fully voiced demo available to try in Steam Next…

That didn't last long - Blue Protocol: Star Resonance anti-cheat causing problems on Linux

Blue Protocol: Star Resonance was just updated, as it seems the initial build did not actually have any anti-cheat enabled but now it does..Read the…

Death by Scrolling from Ron Gilbert / Terrible Toybox releases October 28

MicroProse and Terrible Toybox have revealed an October 28th release date for Death by Scrolling which is all about fighting, dying and trying…

LMDE 7 (Linux Mint Debian Edition) released

LMDE 7 (Linux Mint Debian Edition) is out now as the latest from the Mint team based directly on Debian instead of Ubuntu..Read the full article on…

Valve bring more essential bug fixes in the latest Steam Beta for Desktop / SteamOS and Steam Deck

The October 13th Steam Beta comes with a number of bug fixes for annoying issues, along with a couple of feature tweaks for all platforms..Read the…

Tom Clancy's Splinter Cell: Pandora Tomorrow gets a Steam release

Quite a surprise to see, Ubisoft have revived Tom Clancy's Splinter Cell: Pandora Tomorrow with a Steam release now available..Read the full article…

Hollow Knight: Silksong patch 3 (1.0.28891) brings a lot of fixes and Dualsense Edge support

The most popular Steam Deck game over the last month continues to improve, with the third major patch now available for Hollow Knight: Silksong..Read…

Steam Next Fest - October 2025 is now live with a great many demos

Here we go again, you've got a week to check out a bunch of games having their first or updated demos now in Steam Next Fest - October 2025..Read the…

One of the most promising deck-building roguelikes ever, Moonsigil Atlas gets a big demo upgrade

Moonsigil Atlas is by far one of the most interesting and promising upcoming games I've played in a while, taking deck-building roguelikes in a fun…

Star Trek: Voyager - Across the Unknown gets a first demo

Clearly still a work in progress but a taste of things to come, Star Trek: Voyager - Across the Unknown now has a public demo available..Read the…

From the creator of Sally Face, horror deckbuilding roguelike The House of Hamelin has a demo up

Enter the frightful world of The House of Hamelin and take control of Perdita, a young woman tasked with finding her missing cat, Paige..Read the…

Get a bunch of Cosmic Mysteries and Noir Realities in the new Humble Bundle

The Cosmic Mysteries and Noir Realities Humble Bundle is live with another 8 sweet treats, especially good for saving some monies..Read the full…

Build a living city on rails in Steel Artery: Train City Builder

Set in a steampunk fantasy world with many different races, Steel Artery: Train City Builder is an interesting looking take on a city-builder..Read…

A Pinball Game That Makes You Mad is certainly an appropriate name for this game

A Pinball Game That Makes You Mad is an upcoming release from Azimuth Studios, and you don't really need to guess what the game is about with that…

1998 arcade-style aircraft racer Plane Crazy gets a Championship Edition upgrade

Originally released in 1998, Plane Crazy from Inner Workings returns with the newer Plane Crazy Championship Edition from ZOOM Platform..Read the…

Unique RTS game Moduwar fixes the oversized cursor on Linux

Moduwar is an adaptive organic RTS where you control an alien creature, it's quite unique and looks really interesting..Read the full article on…

GE-Proton 10-18 brings fixes for Wayland, Company of Heroes 2 & 3, Blue Protocol: Star Resonance

A fresh batch of fixes have landed for running Windows games on Linux / SteamOS and Steam Deck with GE-Proton 10-18 now available..Read the full…

Team Fortress 2 Classic scrap their open beta and new Valve rules likely mean they have to change the name

Team Fortress 2 Classic is an upcoming Source Engine mod based on Valve's Team Fortress 2, it was due to hold an open beta but they've had to scrap…

Take on the role of a curious baby boar in the demo for Adorable Adventures

Adorable Adventures is a cozy third-person exploration adventure where you're Boris, a curious baby boar on a mission to find their family..Read the…

Effulgence RPG has some of the slickest animated 3D ASCII art I've ever seen

This is a very fun surprise, Effulgence RPG is an upcoming party-based sci-fi role-playing game rendered entirely from text symbols arranged in 3D…

Cyberpunk roguelike deckbuilder and dungeon crawler Into The Grid arrives November 10

Into The Grid from Flatline Studios is an incredibly promising blend of a cyberpunk roguelike deckbuilder and dungeon crawler and it's arriving…

Around 70,000 users affected in Discord related breach which includes some government ID images

Ouch. This whole ongoing online safety thing is going well isn't it? Who could have guessed that some personal data would end up leaking? Everyone…

Battlefield 6 releases today and it will not be playable on any Linux / SteamOS system

Just a reminder that thanks to EA's latest anti-cheat, the launch of Battlefield 6 today will be unplayable on any Linux system..Read the full…

Blue Protocol: Star Resonance is out now and does work on Linux

Despite the previous report that it likely wouldn't work on Desktop Linux, Blue Protocol: Star Resonance is out now and does work..Read the full…

Proton 10.0-3 release candidate live for testing better Windows game compatibility on Linux / Steam Deck

Valve have released a new release candidate build for the Windows compatibility layer Proton, with Proton 10.0-3 available for users to test..Read…

NVIDIA reveal new driver security issues for October 2025

NVIDIA just revealed more GPU driver security issues and so you should make sure you’re up to date..Read the full article on GamingOnLinux.

Support the mental health charity Safe In Our World with the Wired Productions Humble Bundle

Supporting another essential charity, Safe In Our World is the focus of the Wired Productions Humble Bundle..Read the full article on GamingOnLinux.

Retro Brazilian RTS game Outlive returns with Outlive 25

Outlive 25 is a remaster of the classic 2000 RTS game rebuilt by the original developers, and a demo is just about to drop too..Read the full article…

Intel details Panther Lake architecture expected to start shipping January 2026

Intel have now revealed a whole lot more on Panther Lake, their next-generation chip architecture with RibbonFET and PowerVia..Read the full article…

Physics-based delivery adventure Truckful gets a first demo

From developer MythicOwl and Pocketpair Publishing (Palworld), Truckful is a wacky and mysterious physics-based delivery adventure..Read the full…

Get some classic Bethesda games in the latest Fanatical bundle

The Fanatical Bethesda Legends - Build your own Bundle gives you a good chance to grab a bunch of classics for a decent price too..Read the full…

Culinary roguelite deckbuilder Hungry Horrors gets a big demo upgrade

Hungry Horrors is a deckbuilder where you strategically cook and serve authentic traditional dishes to legendary monsters..Read the full article on…

Check out the demo for the physics-driven co-op action-RPG Cloudheim

Coming from Noodle Cat Games, Cloudheim is shaping up to be an impressive physics-driven co-op action-RPG..Read the full article on GamingOnLinux.

Ubuntu 25.10 'Questing Quokka' is out now

Canonical today launched the Ubuntu 25.10 'Questing Quokka' release, bringing with it many advancements across the Linux desktop..Read the full…

HELLREAPER from the devs of Fury Unleashed looks incredible

From the studio that gave us Fury Unleashed and Yet Another Zombie Survivors, their next game is a dark action roguelike HELLREAPER and it looks…

WinBoat for containerised Windows apps on Linux adds custom install path, home folder sharing and more

WinBoat is a very interesting tool in development to run Windows apps on Linux in a full containerised environment and it just got even better..Read…

Jump back into Winnie’s Hole with a fresh and expanded demo for this unique genre-blending roguelite

Oh bother! The virus has returned in the refreshed and expanded demo for the roguelite Winnie’s Hole the viral dungeon crawling roguelite..Read…

UK gov has "no plans to intervene" with payment processors pressuring stores to remove games

With the ongoing drama from the likes of Steam and itch.io getting hit by payment processors for adult games, the UK government say they will not get…

Crusader Kings III major expansion All Under Heaven gets a release date

Paradox Interactive today revealed that the Crusader Kings III major expansion All Under Heaven now has a release date and a new trailer too..Read…

Zelda fused with GTA vibes? Vice: Magic City Mayhem certainly sounds unique

Vice: Magic City Mayhem is a supremely odd blend but it looks like it works. A Zelda-like with some GTA elements thrown in because why not..Read the…

Co-op puzzler PICO PARK: Classic Edition is now permanently free

Thanks to a bit of a woops, PICO PARK:Classic Edition from TECOPARK is now staying free to play, permanently..Read the full article on GamingOnLinux.

SILENT HILL f gets a DRM-free release on GOG

SILENT HILL f getting a DRM-free release on GOG was the final surprise for their 17th anniversary celebration..Read the full article on GamingOnLinux.

System Shock 2 (1999) is getting delisted and bundled with the 25th Anniversary Remaster

Nightdive Studios / Atari have announced that the classic System Shock 2 (1999) is getting delisted from stores on October 10th..Read the full…

Humble Choice for Oct 25 has Atomic Heart, V Rising, System Shock and more

Some good stuff in Humble Choice for October 2025, looks like a good month. Here's all that's in it and what compatibility to expect on Linux /…

The cross-platform Nexus Mods app brings a fancy new mod downloads page

The newer in-development cross-platform open source Nexus Mods app has improved again, bringing with it a proper built-in downloads page..Read the…

Proton Experimental brings fixes for The Quarry, For Honor, God of War: Ragnarok and more

Valve just updated Proton Experimental for Linux / SteamOS and Steam Deck with the October 7th update bringing fixes for various games..Read the full…

Story-driven action-adventure Bittersweet Birthday launches November with a new demo live

Every battle is a boss fight in the mysterious action-adventure game Bittersweet Birthday, which has a new demo and trailer along with a release…

PowerWash Simulator 2 release date confirmed for October

Time to get your rubber gloves on again, as PowerWash Simulator 2 is going to officially arrive later this month with a discount if you have the…

Vampire Survivors online co-op due out before the end of the year and more announcements are coming

Developer poncle has confirmed that Vampire Survivors much anticipated online co-op update will fully release before the end of the year..Read the…