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

Docker Update Fixes Pair of Critical Security Flaws

eWEEK: Docker, however, isn't immune from security vulnerabilities, as a pair of recent updates illustrate.

2014: Year of open source miracles

 opensource.com: Software bugs aren't an open source problem, they are a software management problem.

Fedora 21 Innovates in Docker Cloud Virtualization with Project Atomic

 The VAR Guy: Fedora 21 will feature significant innovations in Docker container-based virtualization and cloud app deployment as a result of Project Atomic

Google Brings Open Source Security Gifts

eSecurityPlanet: Tis the season for giving, and search giant Google wants to give security researchers and end-users some new tools.

Canonical Is Still Considering Turning the Phone into a Mini-PC

 softpedia: Canonical is working to complete their idea of convergence with the launch of Ubuntu Touch

10 Sed (Stream Editor) Command Examples

 Nextstep4IT: Sed is a stream editor in UNIX like operating system which is used for filtering and transforming text.

How the Linux Foundation's CII Is Securing the Internet

eWEEK VIDEO: Jim Zemlin, executive director of the Linux Foundation, explains how millions of dollars he helped raise are going toward preventing the next open-source Heartbleed.

How to manage your personal expenses from the command line

 xmodulo: The Linux command line can be used for many things, like making spreadsheets, playing music, or access Facebook or Twitter.

PC-BSD 10.1 review

 LinuxBSDos: What follows is a 4-day experience of installing and playing with PC-BSD 10.1

GamingOnLinux.com Latest Articles

Daedalic Entertainment Announces Publishing Deal With Mimimi Productions

Today the acclaimed German developer and publisher announced that they will be publishing the next game from Mimimi Productions, the developer of the award-winning 3D platformer The Last Tinker™: City of Colors. The new game will be a real-time tactical stealth game and is slated for release in 2016.

0 A.D. Progress Report, Programmers Needed

The 0 A.D. team have been extremely busy as always to bring us the latest and greatest in open source RTS gaming.

Shroud Of The Avatar: Forsaken Virtues RPG Released On Steam For Linux

Shroud of the Avatar: Forsaken Virtues aims to be a rather massive RPG. I say it aims to be as it's currently in early access, and it has a long way to, but it looks great already.

An Update On The Stonehearth Linux Port

The city builder Stonehearth which reached their Linux stretch goal back in the Kickstarter campaign is closing in on the ports both to Mac and Linux, which will evidently happen at the same time.

Toast Time, A Retro Throwback With An Apparent British Sense Of Humour

Toast Time is a throwback to the golden age of video games where old-school homebrew titles fused arcade action with a distinctly British sense of humour.

Gunslugs 2, An Action Platformer That Will Be Great For Speedruns

Gunslugs 2 is the sequel to the mobile game Gunslugs that has some insanely over the top action, and it will be great for fans of speedruns.

Action Platformer 'Red Goddess' Has A Trailer And Is Due Out In February

A trailer was released for the Kickstarter funded game earlier this month, and with an estimated release date of February it might be one of the first Unreal Engine 4 powered games to release on Linux.

Natural Selection 2 Community Developers Need OpenGL Help

Natural Selection 2 development was handed to the community a while ago, but some Linux bugs with OpenGL are making the game on Linux crash happy.

Kinetic Void, A Space Sandbox Game Exits Early Access

Kinetic Void is a 3D space adventure with a focus on customization and exploration. It has been on Linux for quite some time, but in the last few days that have polished it enough to exit early access.

7 Days To Die, A Sandbox Zombie Survival Game Finally Arrives On Linux

It has been a bumpy ride, and that's putting it nicely, but 7 Days To Die is finally on Linux for us to enjoy some zombie smashing.

What Can You Do For Linux Gaming?

An editorial talking about what you can do for Linux gaming. Including when to buy games, and what distribution to use to make sure you get support.

Free Balling, A Physics & Drawing Game, Tossing Building Games To The Next Level

In a world where one ball's life hangs in the balance against an infinite amount of track, that you draw!

Gold Rush! Anniversary Adventure Game Now Available On Linux

Gold Rush! takes you back to the year 1849, when gold was discovered in California. It was certainly one of the most exciting times in American history. Gold Rush! includes the three routes tens of thousands took to the gold regions. Become Jerrod Wilson and experience each trek as you travel from New York to California.

Voice Of Pripyat, Multiplayer First Person Shooter In Early Access

Voice of Pripyat is a multiplayer first person shooter that has popped up on Steam thanks to Greenlight, it looks like it could be interesting too in a stupidly crap way.

Valve Plans A Big Steam Machine Presence At GDC 2015

It seems Valve have no plans to attend CES next year, but they did confirm they are planning a large presence at GDC. Looks like there will be a lot of Steam Machine news next year!