Sent: Tuesday, October 12, 2021 at 3:46 PM
From: "Alex fxmbsw7 Ratchev" <fxmbsw7@gmail.com>
To: "Khan Smith" <khansmith@mail.com>
Cc: "help-bash" <help-bash@gnu.org>
Subject: Re: Searching inside files in a script
grep -r 'pattern' dir
possibly -E or -P or -F
-r for recursive into dirs
I am trying to time the execution of grep using
tim=${EPOCHREALTIME//[![:digit:]]/.}
But tim is not returning anything
On Tue, Oct 12, 2021, 17:38 Khan Smith <[1]khansmith@mail.com> wrote:
I am getting a number of error messages related to functionality
I
source to. I would like to have a function I can run to search a
text
pattern on specific directories or files. What can I do?
If I select a directory, I want to search inside the files in
that
directory.
References
1. mailto:khansmith@mail.com