PLN(5) File Formats Manual PLN(5)

plnprogressive label notation

Progressive Label Notation is a configuration format used by rset(1), and is designed to be evaluated sequentially. pln supports options defined by pairs and text fragments designated by tab indentation

interpreter=/bin/sh -x

packages:
	pkg_add -I nginx ruby%3.0
	ln -sf /usr/local/bin/ruby30 /usr/local/bin/ruby
	ln -sf /usr/local/bin/irb30 /usr/local/bin/irb

services:
	./rinstall mail/smtpd_relay.conf /etc/mail/smtpd.conf \
	    && rcctl restart smtpd

# vim:ts=4:syntax=sh

A label may also be followed by special content between a pair of braces on the beginning of a line

www:
{
	echo "SSL_PASSWORD=XYZ"
}
	echo $SSL_PASSWORD > /etc/keys/global.pass

Each option may be set multiple times, and is effective for labels that follow. Reset an option to the implementation-defined default using ‘=’ without a value.

Label names do not need to be unique and may contain any series of characters except for single and double quotes. Labels may be split into multiple aliases by using commas. A series of pathnames for use by the application may be specified after the ‘:

svc1,10.0.0.10: etc/ rc.d/
	base.pln

Comments begin with a hash (‘#’) character, and can only be used the beginning of a line.

labelgrep(1)

May 3, 2022 OpenBSD 7.1