-
Notifications
You must be signed in to change notification settings - Fork 0
File Includes
Derek Callaway edited this page Jun 19, 2018
·
1 revision
strglob is capable of extracting local file system path names from encapsulation by curly braces. Once the path name has been parsed, file contents are read from it in a line-based manner. Of course the user must have appropriate permission bits granted in order to read the desired file location. Note that curly braces are being used because this is a string operation (as opposed to the numeric or character operations handled by square brackets.) A forward slash must appear after the opening left curly brace and the path name ends at the closing right curly brace. Refer to the sample syntax shown below for an example.
{/etc/issue.net}
Ubuntu 16.04.4 LTS