====== file plugin ====== This plugin allows reading of a line from a file. ---- ===== Functions ===== |file::readline('/path/to/file', line_number)| This plugin returns up to 80 characters of a line from a file. Characters after that in the line are simply ignored. The plugin could be a logical place to add more file operations, such as size, permissions display, etc. ---- ===== Example ===== Widget dmesgline99 { class 'Text' expression file::readline('/var/log/dmesg', 99) width 20 align 'M' update 10000 } ----