AT&T Interactive R&D

 
 

Line in File

Ensures that the line given is in the file

Usage

   1  has_line_in_file('line', '/full/file/path.ext)

Examples

   1  has_line_in_file("ENABLED=1", "/etc/default/haproxy")