FreeRADIUS InkBridge

Head

The head function returns the first line of the file. If the file does not exist, or if the line is more than 256 characters in length, it fails and nothing is returned.

Syntax

%file.head(string)

Example 1. Returning the first line of a file
string line

line := %file.head("/var/log/radius.log")