Re: cut off last lines of a document

From: Ralf Mardorf <ralf-mardorf_at_riseup.net>
Date: Sat, 02 Sep 2023 05:09:03 UTC
Hi,

to write a super portable script the best way would be to check what
operating system is used and to check the version of the used shell.

  case in FreeBSD) command=foo;; *) command=bar;; esac

When using busybox there are a few extra pitfalls.

Regards,
Ralf