grepi


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( deprecated = true , since = "1.0.66" ) ]
public string[] grepi (string regex, string path) throws Error

Warning: grepi is deprecated.

return lines matching a pattern

Note:

In new code, use grep instead

This calls the external "grep -i" program and returns the matching lines.

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error