取文件相同列

function xrsh_arritemidx() { local _xrsh_tmp local _xrsh_cnt=0 local _xrsh_array=echo "$1" for _xrsh_tmp in ${_xrsh_array[*]}; do if test "$2" = "$_xrsh_tmp"; then echo $_xrsh_cnt return fi _xrsh_cnt=$(( $_xrsh_cnt + 1 )) done echo "-1" } ———————————————— 版权声明:本文为CSDN博主「xrdks」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/xrdks/article/details/7759305

Last updated