Searching simple flat files
lsearch;/some/file/to/search
The file contains:
item1 : value for Item 1 item2 : value for item 2
A couple things to note:
- There can be any amount of whitespace between the name and value. However, the string returned will only have a single space.
- Empty lines and lines begining with # are ignored. # can appear anywhere on a line.