Skip to content

Running Salomon on BSD

Ralf Kilian edited this page Mar 4, 2024 · 10 revisions

Running Salomon on BSD

Table of contents


Details

Merge Once created from a fork of the original project, Salomon-BSD was merged with the Salomon project again after modifying and unifying the platform dependent code. So, there is a single program for both platforms, Linux and BSD.

The command-line arguments and the configuration files as well as the functionality of the project is completely identical on both platforms. However, there is the well-known limitation on OpenBSD when using certain command-line arguments.

Top

Distributions

Originally, the development of the BSD port was started under OpenBSD, but has moved to FreeBSD. This also is the only BSD derivate where the project is being tested (more or less) regularly.

The project has been tested on the following distributions, yet.

Distribution Version Architecture Bash Comment
FreeBSD 12.0 amd64 5.0 Runs out of the box.
FreeBSD 12.1 amd64 5.0 Runs out of the box.
FreeBSD 13.0 amd64 5.0 Runs out of the box.
NetBSD 8.0 amd64 5.0 Runs out of the box.
OpenBSD 6.4 amd64 4.4 See limitations below.
OpenBSD 6.5 amd64 5.0 See limitations below.
OpenBSD 6.6 amd64 5.0 See limitations below.
OpenBSD 6.7 amd64 5.0 See limitations below.

Top

Limitations

OpenBSD

Unlike in FreeBSD or NetBSD, the sed command provided by default in OpenBSD does not support the i (ignore case) flag.

Due to this, there are some limitations (or differences) which affect the -hm (or --highlight-matches) and -hu (or --highlight-upper) as well as the -r (or --remove) argument.

When using -hu (or --highlight-upper), the whole line will be switched to upper case instead of just the highlighted term.

Furthermore, -hm (or --highlight-matches) is identical with -hu (or --highlight-upper). Both arguments have the same effect.

The remove pattern from -r (or --remove) is always case-sensitive unless one of those highlighting arguments is also given. If so, the remove pattern is automatically applied in upper case for those lines. So, in that constellation the pattern is case-insensitive.

Top