This website requires JavaScript.
Explore
Help
Register
Sign In
fengyuhetao
/
shell
mirror of
https://github.com/fengyuhetao/shell.git
Watch
1
Star
0
Fork
You've already forked shell
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fa7d1b4ece
shell
/
sed进阶
/
排除命令.sh
9 lines
142 B
Bash
Raw
Blame
History
!/bin/bash
#排除命令,使本来起作用的命令不起作用
sed -n
'/heade/!p'
test
#反转文本文件
sed -n
'{1!G ; h; $p}'
test
Reference in New Issue
View Git Blame
Copy Permalink