Tag Archives: Bash

Printing lines side by side in shell

Everybody knows, there is paste command in every *NIX to print two files side by side or join which is obviously used to join text-files by their key-fields. And there are a lot of examples and tutorials over Internet, so the subject is as … Continue reading

Posted in Tips & tricks | Tagged , , , , | 10 Comments

A nice way to return string values from functions in Bash

What can be as trivial as returning a value from a function in a scripting language? For those who has ever dealt with Bash, the answer turns out to be not so obvious. First, there are multiple options to do … Continue reading

Posted in Misc, My projects, Tips & tricks | Tagged , , , , , , , , | Leave a comment

Command line Russian roulette

Image | Posted on by | Tagged , , | Leave a comment