📌  相关文章
📜  bash 如何将文本转换为小写或大写 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:53.311000             🧑  作者: Mango

代码示例1
# Basic syntax:
tolower(string)
toupper(string)

# Example usage:
awk '{print tolower($0)}' input_file
# This prints every row ($0) converted to lowercase

awk '{print toupper($3)}' input_file
# This would print the third field ($3) converted to uppercase