上一页 1 ··· 3 4 5 6 7
摘要: Building GCC from source In this guide we are going to walk through the steps required to build GCC 9.1.0 from source. Additionally we shall see how t 阅读全文
posted @ 2022-08-25 14:33 huorexiaji 阅读(159) 评论(0) 推荐(0)
摘要: 大括号 变量分界 NAME="Tom" echo "Hi, ${Tom}" 普通变量可以不用{}定界,但获取数组元素是必须使用${arr[0]} 中括号 条件判断 var="abc" if [ "$var" == "abc" ]; then echo "eque" elif echo "not eq 阅读全文
posted @ 2022-08-24 16:27 huorexiaji 阅读(30) 评论(0) 推荐(0)
摘要: vi ./.project << EOF :%s/TestDlSe/$1/g :x EOF 阅读全文
posted @ 2022-08-24 15:42 huorexiaji 阅读(19) 评论(0) 推荐(0)
摘要: 1 #!/bin/bash 2 function get_string_part() 3 { 4 #$1 string, $2 splitor, $3 part 5 if [ "$2" == "\t" ];then 6 echo $"$1" | cut -f $3 | xargs echo 7 el 阅读全文
posted @ 2022-08-24 15:41 huorexiaji 阅读(181) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7