Making a patch

I usually fix the SlackBuilds I maintain by sed, as it makes things much more transparent. However, sed is not always an option, especially for some big fixes or fixes that contain “weird” characters, for example something like this:

unless (defined(@$slist) && defined($hlist_sel)) {

The above is an excerpt from, that had to be fixed. The problem in question has been discussed here. I wanted to provide a fix for my perlprimer.SlackBuild, therefore I decided to make a patch.
Read the rest of this entry »

Comparing two folders

Every now and then I need to compare two folders and list the differences. I would usually just use Meld, but sometimes it is more handy to get the output in the terminal. The thing is I always forget the exact command… So, as a future reference, here’s what I do: Read the rest of this entry »