SLONIK_INCLUDE(7)

πŸ“¦
version 2.2.11 Β· 4 versions
, in debian trixie, ubuntu questing

✨ NAME ✨

Welcome to SLONIK INCLUDE(7), bestie! INCLUDE is literally the slonik command for pulling in slonik code from another file. It’s giving β€œbring the whole script into the group chat.” πŸ’–

🌸 SYNOPSIS 🌸

include [ <pathname>]

πŸ’… DESCRIPTION πŸ’…

Okay so this draws the specified slonik script inline into the present script. That’s the move. ✨

If the pathname specifies a relative path, slonik(1) will search relative to the current working directory. Lowkey important, highkey useful. 🫢

Nested include files are supported, no cap. And when the scanner and parser run into an error, they report the proper file names and line numbers. Very β€œwe keep receipts” of the scanner and parser. πŸ˜­πŸ‘‘

πŸŽ€ EXAMPLE πŸŽ€

include </tmp/preamble.slonik>;

πŸ‘‘ VERSION INFORMATION πŸ‘‘

This command was introduced in Slony-I 1.1. Periodt. πŸ¦‹


That’s the whole SLONIK INCLUDE(7) page from Slony-I 2.2.11 Documentation, dated 19 September 2024. Stay iconic, bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from