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

Articles found under tag: scripts

AWK and a rainfall time series - Part 2

By

In part 1 of this article I showed how I used AWK on the command line to work up daily rainfall data for my home town, Ulverstone in Tasmania. I wasn't ready to analyse the data, because there were quite a few missing-data days. Some were part of accumulated-total series, where the rainfall total…

Read Article

AWK and a rainfall time series - Part 1

By

AWK is my tool of choice for processing plain-text data, so when I wanted to look closely at daily rainfall data for my home town, I fired up a terminal. In this two-part article I explain how the rainfall data were beaten into shape, mainly with AWK, so I could do my analysis. The commands shown…

Read Article

BASH a block of bytes

By

I was preparing a slide presentation and wanted to show a block of random 8-bit bytes, like this: Naturally I didn't just type out that block of text on a slide, which would have taken maybe 10 minutes, or copy and modify some byte-text I found online. Of course not. Instead I spent hours dreaming…

Read Article

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

The buttons of YAD

By

I use the YAD dialog program quite a lot in my shell scripts. Written and maintained by Victor Ananjevksy, YAD is easy to use and has dozens of handy options. In previous Linux Rain articles demonstrating YAD (here, here and here), I used only the default YAD buttons, "Cancel" and…

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

Scripting an arithmeticker

By

I've just built my own GUI calculator (script below). OK, you're probably thinking "WHY? There are plenty of perfectly good GUI calculators for Linux. Why build another one?" And my answer is "Because the available calculators are way too powerful and don't do what I want…

Read Article

Tips for tpp and patat

By

You might be surprised to learn that there are programs for running presentations in a terminal. No, I don't mean opening PowerPoint or Impress slides one after the other, as images in a frame-buffered console. I mean presenting slides coded for the terminal, in a terminal. Interesting idea? It…

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

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…