Browse Source

grep 2

master
zeus 4 years ago
parent
commit
98aece0e03
  1. 2
      grep/0_Case_insensitive_search/code
  2. 5
      grep/0_Case_insensitive_search/info
  3. 7
      grep/intro

2
grep/0_Case_insensitive_search/code

@ -1 +1 @@
grep -i "Jordan" $LLO_DATAFILE grep -i "Jordan" $LLO_DATAFILE

5
grep/0_Case_insensitive_search/info

@ -1,5 +1,4 @@
The *grep* filter searches a file for a particular _pattern_ of _characters_, and displays all lines that contain that pattern. The -i option enables to search for a string case insensitively in the give file.
The pattern that is searched in the file is referred to as the *__regular expression__* (grep stands for globally search for regular expression and print out).
It matches the words like “JORDAN”, “Jordan”, “jordan”.

7
grep/intro

@ -1,2 +1,7 @@
How to use "grep" command on Unix/Linux operating systems. How to use "grep" command on Unix/Linux operating systems.
Here you can find descriptions with simple examples of the "grep" command. Here you can find descriptions with simple examples of the "grep" command.
The *grep* filter searches a file for a particular _pattern_ of _characters_, and displays all lines that contain that pattern.
The pattern that is searched in the file is referred to as the *__regular expression__* (grep stands for globally search for regular expression and print out).

Loading…
Cancel
Save