当前位置:网站首页>Sed technique
Sed technique
2022-06-22 01:20:00 【winux】
Replace only those that match the context pattern, such as : If c It is not the letter that follows A, will c Switch to b
echo "c.cAcf" | sed 's/c/([^A]/)/b/1/g'
Output b.cAbf
Precede the line that matches the rule , Insert a specific character
echo "abcef" | sed '/ab/ s/^/#/'
among /ab/ It's a regular expression , Used to match a line ,
s/^/#/ Command is replace , ^ At the beginning of the line
边栏推荐
- 3分钟,带你玩转聊天机器人自动化【顶级模板】
- 0x00007ffff3d3ecd0 in Io Vfprintf Interne (S = 0x7ffff40b5620 < io 2 1 stdout >
- English grammar_ Adverb_ fairly / rather
- The use of PowerShell functions in mathematical expressions
- Pytorch learning 12: automatic derivation
- 【DailyFresh】课程记录
- 香橙派orangepi4b上安装tensorflow与transformer
- BigDecimal基本使用
- Sum of four numbers [array sort + double pointer]
- 判断String类型是否为空,判断list集合是否为空
猜你喜欢

Error 4 opening dom ASM/Self in 0x8283c00

【CYW20189】七、HCI命令格式详解

Compilation principle - recursive descent subroutine method
![3 minutes, take you to play with chat robot automation [top template]](/img/71/4d848b46a52b71a351a086db248a95.png)
3 minutes, take you to play with chat robot automation [top template]
![[cyw20189] VII. Detailed explanation of HCI command format](/img/ba/c61d4868e6c5da8460541c62649880.png)
[cyw20189] VII. Detailed explanation of HCI command format

聚宽 - 简单策略试验

Broadening - simple strategy test
![[dailyfresh] course record](/img/af/c1f4ed20606a70e4c59ba0b56562fb.png)
[dailyfresh] course record

Pytorch learning 01: gradient descent for simple linear regression

今日内容
随机推荐
The problem of connecting to the server with MySQL client under cygwin
判断String类型是否为空,判断list集合是否为空
Pytorch learning 02: handwritten digit recognition
find 查找不同扩展名的文件
Judge whether the string type is empty and whether the list set is empty
English语法_副词 - loud /aloud / loudly
Pytorch learning 10: statistical operations
Pytorch learning 11:where and gather
Example and description of lvgl Demo 1
[gstreamer] plug in writing - Test Program
[其他] 浅析ELF中的GOT与PLT
SSO and oauth2 solutions
Pytorch learning 13: implement letnet and learning nn Module related basic operations
ShardingSphere-proxy-5.0.0分布式哈希取模分片实现(四)
0x00007ffff3d3ecd0 in _IO_vfprintf_internal (s=0x7ffff40b5620 <_IO_2_1_stdout_>
Precautions for using timestamp type of SQLite3 database
Tensorflow环境搭建
Difference between integer and int
【DailyFresh】课程记录3--商品搜索相关
Integer和int区别