机器人 救救瓜
Toggle navigation
Home
SCM-tool
Linux
Jenkins
SVN
other
About Me
Archives
Tags
Shell 拼接的用法
? shell ?
2019-01-25 15:42:49
771
0
0
gua_l
? shell ?
##### paste 按列拼接将文件拼接 ``` paste text1.txt text2.txt ``` ##### 直接字符串拼接 ``` B="case_"${A}".test" ``` ##### 将文件中的一组字符全部加上一样的前缀和后缀 ``` cat temp.txt | while read line do echo MME_case${line}.test >>temp_MME.txt done ```
Pre:
Shell if 用法
Next:
Shell里截取的用法
0
likes
771
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.