Author: pekka.klarck
Date: Sat Mar 21 09:29:07 2009
New Revision: 1452
Modified:
trunk/src/robot/libraries/OperatingSystem.py
Log:
deprecated Grep File (issue 257)
Modified: trunk/src/robot/libraries/OperatingSystem.py
==============================================================================
--- trunk/src/robot/libraries/OperatingSystem.py (original)
+++ trunk/src/robot/libraries/OperatingSystem.py Sat Mar 21 09:29:07 2009
@@ -332,8 +332,8 @@
def grep_file(self, path, pattern, pattern_type='literal string',
encoding='UTF-8'):
- """Returns the contents of a specified file grepped using
`pattern`.
-
+ """*DEPRECATED* Use `Get File` with `BuiltIn.Grep` instead. Will
be removed in RF 2.2.
+
This keyword reads the specified file and returns only lines
matching the `pattern`. `encoding` specifies the encoding of the
file the same way as with `Get File` keyword.