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

Articles found under tag: awk

How to build and edit LibreOffice dictionaries

By

When writing or editing scientific-type text in LibreOffice Writer, I rely a lot on its spellchecker. Unfortunately, the scientific terms I'd like to check aren't in the default dictionaries behind LibreOffice's spellchecking routine. There are two ways out of this dilemma. The first is to deal…

Read Article

grep vs AWK vs Ruby, and a uniq disappointment

By

In my data-cleaning work I often make up tallies of selected individual characters from big, UTF-8-encoded data files. What's the best way to do this? As shown below, I've tried grep/sort/uniq, AWK and Ruby, and AWK's the fastest. The trials also revealed an unexpected problem with the uniq program…

Read Article

Scottish Country Dancing stats

By

My wife has been in the same Scottish Country Dancing group for many years, and back in 2005 she began keeping a record of the dances done at each meeting. She lists a fair bit of information in her "dances done" spreadsheet (screenshot below). She recently asked me "Would it be…

Read Article

A script to log what my GPS tells me

By

I carry a Garmin Etrex 10 when I go bug-collecting. It's a handheld GPS receiver without many frills, and I only use it to record the latitude and longitude of each of my collecting sites as a waypoint. At the start of a field trip I delete all previous waypoints. When I do this, the trip's…

Read Article

Eek! My rounding is biased!

By

I've written several BASH scripts that use GNU AWK's printf function to round off decimal numbers. Now I've learned that the rounding is biased, and I need to re-do the scripts. For me the desirable way to round off a decimal is to round up if the bit to be discarded is greater than one half, and…

Read Article

Scripting a DNA sequence viewer

By

SANITY WARNING: Please don't read this article unless you're a compulsive shell scripter, like me. Seriously. There are some excellent FOSS sequence viewers in the distro repositories, with great GUIs and lots of features. Why would you want to build a less capable viewer that only works in a…

Read Article

Hunting gremlin characters

By

When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

Read Article

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

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…