fgrep


Description:

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

Warning: fgrep is deprecated.

return lines matching a pattern

Note:

In new code, use grep instead

This calls the external fgrep program and returns the matching lines.

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error