Back to Fish

string-upper - convert strings to uppercase¶

docs/docs/3.1/cmds/string-upper.html

latest537 B
Original Source

string-upper - convert strings to uppercase

Synopsis

string upper [(-q | --quiet)] [STRING...]

Description

string upper converts each string argument to uppercase. Exit status: 0 if at least one string was converted to uppercase, else 1. This means that in conjunction with the -q flag you can readily test whether a string is already uppercase.