34 lines
762 B
Groff
34 lines
762 B
Groff
.TH STREQ 1
|
|
|
|
.SH NAME
|
|
|
|
streq \(en compare strings
|
|
|
|
.SH SYNOPSIS
|
|
|
|
streq
|
|
.RB [ strings... ]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Streq checks whether the given strings are the same.
|
|
Streq exits successfully if the strings are identical and unsuccessfully if not.
|
|
|
|
.SH DIAGNOSTICS
|
|
|
|
Streq will print an error message and exit unsuccessfully with a status described in sysexits(3) if used incorrectly (given less than two operands).
|
|
|
|
.SH UNICODE
|
|
|
|
Streq will exit unsuccessfully if the given strings are not identical;
|
|
Unicode strings may need to normalized if the intent is to check visual similarity and not byte similarity.
|
|
|
|
.SH STANDARDS
|
|
|
|
Streq is not described in POSIX.1-2017.
|
|
Streq's function may be performed on a purely POSIX system with test(1).
|
|
|
|
.SH COPYRIGHT
|
|
|
|
Public domain.
|