shell字符处理的几个函数

字符处理函数bash #!/bin/bash # example: # replacevariables func @x vara # assume func=@x*@x+2*@x+1 vara=(a b c) # to apply @x as a,b,c in func, the result is a*a+2*a+a b*b+2*b+1 c*c+2*c+1
相关文章
相关标签/搜索