会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tju1895
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
2022年8月25日
Building GCC from source
摘要: 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)
2022年8月24日
shell script中的括号用法
摘要: 大括号 变量分界 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)
shell如何交互式操作vi
摘要: vi ./.project << EOF :%s/TestDlSe/$1/g :x EOF
阅读全文
posted @ 2022-08-24 15:42 huorexiaji
阅读(19)
评论(0)
推荐(0)
shell如何提取字符串中的一部分
摘要: 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
公告