uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

ugrep(USP)

Name

ugrep : Wrapper for GNU grep

Syntax

Usage   : ugrep [OPTION]... PATTERN [FILE]...

Version : Wed Apr  6 14:16:52 JST 2022

Edition : 1

Description

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.

Example 1

$ cat data

a 1

b 2

c 3

$ ugrep a data

a 1

$ echo $?

0

$ ugrep x data

$ echo $?

0