Re: cut off last lines of a document
- Reply: Andreas Kusalananda Kähäri : "Re: cut off last lines of a document"
- In reply to: lain.: "Re: cut off last lines of a document"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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