zegrepi


Description:

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

Warning: zegrepi is deprecated.

return lines matching a pattern

Note:

In new code, use grep instead

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

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error




2022 vala-language.org