grepinfile: Find text in all the files in a directory

Description Usage Arguments Value Note Author(s) References Examples

Description

The function finds a specific pattern of text in a specific directory.

Usage

1
grepinfile(x, loc = "./")

Arguments

x

A specific pattern to be found.

loc

A string giving the directory to search. Defaults to the current directory.

Value

A series of grep results will be printed on the screen.

Note

None.

Author(s)

Xia Shen

References

None

Examples

1
2
3
4
5
6
## Not run: 

grepinfile('a')


## End(Not run)

xiashen/sysubiostat documentation built on Aug. 30, 2020, 12:05 a.m.