Skip to content

{ Category Archives } Bash

Script relocatability

I wrote the first part of some research I did on script relocatability. The basic problem is to make a script and its resources relocatable. It is not meant to be correct, actually I believe there are many errors and inaccuracies, but it brings a lot of arguments to discuss. I will write the second […]

Doing nothing in bash

Today I had to “do nothing” in bash. In python you have “pass” for this task. In C, you can use “;”. I found this post from someone having the same issue. He proposes either “sleep 0″ or “A=0″. However, looks like this is even nicer: from the bash manual

[…]

Close
E-mail It