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

Articles found under tag: scripting

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

News Elsewhere

Linuxtoday.com

The 7 Best Alternative Linux Distributions Of 2014

 EveryDayLinuxUser: Here is a list of the 7 best alternative Linux distributions of 2014.

How to rename multiple files on Linux

 xmodulo: In Linux, when you want to change a file name, mv command gets the job done.

Most important open source news of the year

 opensource.com: In this round up, take a look back at some of the most important open source stories that happened in 2014.

Kubuntu 15.04 Alpha 1 Is the Biggest Update in Years, Features Plasma 5 by Default

 softpedia: Kubuntu 15.04 Alpha 1 (Vivid Vervet), a Linux distribution based on Ubuntu that uses the KDE desktop environment, has been released and is now ready for testing.

Master ExifTool Basics with Practical ExifTool

 scribbles&snaps: If you want to make the photo management process more efficient, ExifTool is right up your alley.

Can Ubuntu Click Address Linus Torvalds’ Binary Problems?

Linux.com: Linux is a dominant player in almost every industry segment, minus one: desktop.

Network Time Protocol Vulnerabilities

Google Security Team researchers Neel Mehta and Stephen Roettger have coordinated multiple vulnerabilities with CERT/CC concerning the Network Time Protocol (NTP).

WordPress, With Release 4.1, Aims to Be Distraction-Free

eWEEK: The popular open-source CMS and blogging system gets a major milestone update that includes an enhanced distraction-free writing mode.

Google building full Android IVI stack

 LinuxGizmos: If Android M is for real, the technology would go far beyond its Android Auto initiative announced earlier this year.

GamingOnLinux.com Latest Articles

Local Multiplayer Game Collection 'Sportsfriends' Available For Linux, Missing Content On Windows

The game was funded on Kickstarter two years ago, and was released for PlayStation 3 and 4 in May. This week it was released for PCs, but due to Bluetooth driver issues one of the four games in the compilation is missing in the Windows version.

Sokoban-Like Puzzler 'A Good Snowman Is Hard To Build' To Be Released Soon

The winter themed puzzler is the latest invention by one of the creators of the clever puzzle game Sokobond, and it will be released on Steam "before winter's end", according to the teaser website.

Welcome To The Re-launched GamingOnLinux!

Surprise! This new design has been in the works since around the end of September 2014 and we have sent previews around to people a few times, but it's now live!

The Weekly Livestream Is Here Once More At 6 PM UTC!

It's nearly Christmas but it's not yet time to lean back and relax for it's Livestream Friday! So join me while I try some Civ: BE and Interstellar Marines along with your recommended games.

Mount And Blade: Warband DLC "Viking Conquest" Is Out

A new DLC for Mount And Blade: Warband has been released to mixed reception due to it being rather buggy, but it did come with Linux support as standard.

Civilization: Beyond Earth Released For Linux, On Sale & You Can Win Some Keys

Aspyr Media have done it again! Civilization: Beyond Earth is now officially available for Linux. Sadly, all the keys have now gone out to the winners, thanks!

New Minecraft Game Announced Coming From Telltale Games, Linux Status Unknown

Minecraft: Story Mode is a brand new adventure being created around Minecraft, but sadly Linux has been left out in the cold it seems.

Endless Legend Will Come To Linux, Suffering Delays

Thanks to our supporter, FutureSuture, we have word that Endless Legend will still come to Linux, but it has suffered delays.

Move Crates In Odd 3D Platformer 'Job Lozenge'

It's no easy job to explain exactly what Job Lozenge is. That it's a game out of the ordinary is certain though.

Windows Games On Linux, WINE & PlayOnLinux

Although WINE is a difficult beast to tame, it can be done quite effectively with a little help from a program called PlayOnLinux

New EU Tax Rule Could Ruin A Lot Of Indie Developers

Not something we cover very often, but it seems the EU is introducing new rules that could really ruin things for indie developers. It could also cause price changes across many stores.

Interstellar Marines Update 16 “Assault On Starcrown Aerospace” Is Live

One of my favourite tactical FPS games on Linux just released an update that adds the second campaign map to the game, along with some gameplay fixes.

SuperTuxKart 0.8.2 Beta Released

This update hauls the new graphical engine "Antartica". The highlight of this new engine is the improved light and shadow rendering which makes STK 0.8.2 looks much better than previous versions.

Gorgeous Stealth Platformer 'Fossil Echo' Is Coming To Linux, Trailer Has Been Released

Fossil Echo is a hand-animated game about a boy on a great journey to reach a giant tower in the middle of the sea. It's influenced by the Oddworld series, Ico and Studio Ghibli films.

Deadnaut From Screwfly Studios Needing Linux Feedback

Screwfly Studios second game 'Deadnaut' is looking to come to Linux, but their new Linux demo needs some testing and feedback first. Get to work people!