(Video materials in preparation)
ugrep : Wrapper for GNU grep
Usage : ugrep [OPTION]... PATTERN [FILE]...
Version : Wed Apr 6 14:16:52 JST 2022
Edition : 1
ugrep is a wrapper for GNU grep.
Even if the specified pattern is not found in the file,
the error status is 0 and not 1. This prevents disruption
of shell scripts.
$ cat data
a 1
b 2
c 3
$ ugrep a data
a 1
$ echo $?
0
$ ugrep x data
$ echo $?
0