shell中大小写转换的几种方法

马谦马谦马谦 2018年12月4日22:30:471 125字阅读0分25秒

一、使用tr命令

二、使用typeset

三、使用sed命令

 

马谦马谦马谦
  • 本文由 发表于 2018年12月4日22:30:47
  • 转载请务必保留本文链接:https://www.dyxmq.cn/linux/shell/shell-toupper-and-tolower.html
[leetcode-shell]192-统计词频 Shell

[leetcode-shell]192-统计词频

来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/word-frequency 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处...
[leetcode-shell]195-第十行 Shell

[leetcode-shell]195-第十行

来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/tenth-line 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 一、...
shell中数组的使用方法 Shell

shell中数组的使用方法

一、声明数组 数组的声明有以下几种方式: 直接赋值:arr="0" arr="1" arr="2" declare声明:declare -a arr2 小括号空格:arr3=("1" "2" "3")...
shell的比较运算符 Shell

shell的比较运算符

shell中用来比较大小的运算符有:eq, ne, gt, lt, ge, le 具体为: -eq:等于 -ne:不等于 -gt:大于 -lt:小于 -ge:大于等于 -le: 小于等于于
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

评论:1   其中:访客  1   博主  0
    • avatar
      匿名 0

      3 使用sed命令 大小写注释反了